We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55c33d4 commit 04f4e1bCopy full SHA for 04f4e1b
Makefile
@@ -39,3 +39,9 @@ local:
39
@cp /tmp/${PKGNAME}-$(VERSION)/dist/${PKGNAME}-$(VERSION).tar.gz .
40
@rm -rf /tmp/${PKGNAME}-$(VERSION)
41
@echo "The archive is in ${PKGNAME}-$(VERSION).tar.gz"
42
+
43
+bz2:
44
+ git archive --format=tar --prefix=${PKGNAME}-$(VERSION)/ HEAD | bzip2 -9 > rpm/SOURCES/${PKGNAME}-$(VERSION).tar.bz2
45
46
+rpm: bz2
47
+ rpmbuild -ba --define "_topdir $(PWD)/rpm" rpm/SPECS/${PKGNAME}.spec
0 commit comments