Skip to contentSkip to conversation

.spec file update

PATCH In review H. Peter Anvin 1 participant 2 messages Jun 15, 2016 1 message not in the archive Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .spec file update

This patch updates the spec file to match Cogito 0.10, and changes its name to cogito.spec.

It would be *really* appreciated if "make cogito.spec" could be made part of the release procedure so it's included in the tarballs.

[ChrisW: we need this, so I'm going to take the liberty of uploading the
corresponding RPM.]

-hpa

Makefile (mode:100644) +4 -1
Index: Makefile
===================================================================
@@ -125,7 +125,7 @@
 	@chmod +x $@
 endif
 
-git.spec: git.spec.in $(VERSION)
+cogito.spec: cogito.spec.in $(VERSION)
 	sed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d"-" -f2)/g' < $< > $@
 
 
@@ -155,5 +155,8 @@
 clean:
 	rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)
 
+distclean: clean
+	find . -name \*~ -print0 | xargs -0rt rm -f
+
 backup: clean
 	cd .. ; tar czvf dircache.tar.gz dir-cache
cogito.spec.in (mode:100644) renamed from dev/null (tree:3974261da777f55a7a11aff6e02f584bbfe2b475) +61 -0

61 lines not on this page · raw message

dev/null (tree:23305c6f40abf5723f28f7ec79a8cdf3ada78f6e) renamed from git.spec.in (mode:100644) +0 -55

55 lines not on this page · raw message

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 6 lines · Mads Martin Joergensen
Quoted 1 line · H. Peter Anvin

+Provides: cogito = %{version}

This provides is not necessary, rpm will figure this out by itself.

Eh, right. That shouldn't have been there.

Update included.

-hpa

Makefile (mode:100644) +4 -1
Index: Makefile
===================================================================
@@ -125,7 +125,7 @@
 	@chmod +x $@
 endif
 
-git.spec: git.spec.in $(VERSION)
+cogito.spec: cogito.spec.in $(VERSION)
 	sed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d"-" -f2)/g' < $< > $@
 
 
@@ -155,5 +155,8 @@
 clean:
 	rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)
 
+distclean: clean
+	find . -name \*~ -print0 | xargs -0rt rm -f
+
 backup: clean
 	cd .. ; tar czvf dircache.tar.gz dir-cache
cogito.spec.in (mode:100644) renamed from dev/null (tree:3974261da777f55a7a11aff6e02f584bbfe2b475) +60 -0

60 lines not on this page · raw message

dev/null (tree:d486ada2c4c7abf6bc32bed730e18f46f9dc6cd2) renamed from git.spec.in (mode:100644) +0 -55

55 lines not on this page · raw message