Fix the makefile to not tag when making srpm

Add things to the changelog
This commit is contained in:
jkeating@reducto.boston.redhat.com 2007-02-13 15:43:21 -05:00 committed by Jesse Keating
parent 0ff449d87f
commit 384608a671
2 changed files with 7 additions and 2 deletions

View file

@ -17,7 +17,7 @@ tag:
@hg tag -m "$(HGTAG)" $(HGTAG)
# @hg push
archive: tag
archive:
@rm -rf ${PKGNAME}-$(VERSION)/
@python setup.py sdist > /dev/null
@echo "The archive is in dist/${PKGNAME}-$(VERSION).tar.gz"
@ -27,7 +27,7 @@ srpm: archive
@rpmbuild -bs ${PKGRPMFLAGS} ${PKGNAME}.spec
@echo "The srpm is in $(SRPM)"
rpm: archive
rpm: archive tag
@rpmbuild --clean -bb ${PKGRPMFLAGS} ${PKGNAME}.spec
@echo "The rpm is in $(RPM)"