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

@ -1,3 +1,8 @@
* Tue Feb 13 2007 Jesse Keating <jkeating@redhat.com>
- Fix part of the patch from Essien
- Add Contributors to the Authors file
- Adjust the Makefile so that srpm doesn't cause a tag
* Mon Feb 12 2007 Jesse Keating <jkeating@redhat.com> * Mon Feb 12 2007 Jesse Keating <jkeating@redhat.com>
- Add new Make targets (Essien Ita Essien) - Add new Make targets (Essien Ita Essien)
- Add runtime flags for doing specific stages of the compose (Essien Ita Essien) - Add runtime flags for doing specific stages of the compose (Essien Ita Essien)

View File

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