[yum-cvs] /yum-utils Makefile,1.10,1.11

Tim Lauridsen timlau at linux.duke.edu
Mon Feb 19 09:12:46 UTC 2007


Update of /home/groups/yum/cvs//yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv29451

Modified Files:
	Makefile 
Log Message:
- Made 'make release' work with %{?dist} tag in spec.
- 'make ChangeLog' will follow CVS HEAD.
- Added 'archive' dependency to 'make srpm'


Index: Makefile
===================================================================
RCS file: /home/groups/yum/cvs//yum-utils/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile	3 Jan 2007 14:18:46 -0000	1.10
+++ Makefile	19 Feb 2007 09:12:44 -0000	1.11
@@ -30,8 +30,9 @@
 	@rm -rf /tmp/${PKGNAME}-$(VERSION)	
 	@echo "The archive is in ${PKGNAME}-$(VERSION).tar.gz"
 	
-srpm:
-	rpmbuild -ts ${PKGNAME}-${VERSION}.tar.gz
+srpm: archive
+	rm -f ~/rpmbuild/SRPMS/${PKGNAME}-${VERSION}-*.src.rpm
+	rpmbuild -ts  ${PKGNAME}-${VERSION}.tar.gz
 
 release:
 	@cvs commit -m "bumped yum-utils version to $(VERSION)"
@@ -42,11 +43,11 @@
 	
 upload: archive srpm
 	@scp ${PKGNAME}-${VERSION}.tar.gz $(WEBHOST):$(WEBPATH)/
-	@scp ~/rpmbuild/SRPMS/${PKGNAME}-${VERSION}-${RELEASE}.src.rpm $(WEBHOST):$(WEBPATH)/	
+	@scp ~/rpmbuild/SRPMS/${PKGNAME}-${VERSION}-*.src.rpm $(WEBHOST):$(WEBPATH)/	
 	@rm -rf ${PKGNAME}-${VERSION}.tar.gz
 	
 ChangeLog: FORCE
-	@cvs2cl --utc
+	@cvs2cl --utc --follow trunk
 	
 	
 FORCE:	




More information about the Yum-cvs-commits mailing list