[Mageia-sysadm] [327] fix tarball name
root at mageia.org
root at mageia.org
Thu Jan 20 08:50:42 CET 2011
Revision: 327
Author: blino
Date: 2011-01-20 08:50:42 +0100 (Thu, 20 Jan 2011)
Log Message:
-----------
fix tarball name
Modified Paths:
--------------
build_system/iurt/trunk/Makefile
Modified: build_system/iurt/trunk/Makefile
===================================================================
--- build_system/iurt/trunk/Makefile 2011-01-20 07:39:44 UTC (rev 326)
+++ build_system/iurt/trunk/Makefile 2011-01-20 07:50:42 UTC (rev 327)
@@ -33,16 +33,16 @@
mkdir $(PACKAGE)-$(VERSION)
tar: dir localcopy
- tar cvf $(PACKAGE).tar $(PACKAGE)-$(VERSION)
+ tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
localcopy:
tar c --exclude=.svn --exclude=.perl_checker --exclude='*~' $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
localrpm: tar $(RPM)
- cp -f $(NAME).tar $(RPM)/SOURCES
+ cp -f $(NAME)-$(VERSION).tar $(RPM)/SOURCES
-rpm -ba --clean $(NAME).spec
- rm -f $(NAME).tar
+ rm -f $(NAME)-$(VERSION).tar
ci: tar
svn ci -m 'Update soft SPEC for version $(VERSION)' $(NAME).spec
@@ -51,7 +51,7 @@
# svn cp -m 'Update package SPEC for version $(VERSION)' $(SVNSOFT)/$(NAME).spec $(SVNPACKAGE)/SPECS/
mkdir svn; cd svn; mdvsys co $(NAME)
cp $(NAME).spec svn/$(NAME)/SPECS/
- cp $(NAME).tar svn/$(NAME)/SOURCES/
+ cp $(NAME)-$(VERSION).tar svn/$(NAME)/SOURCES/
cd svn/$(NAME)/; mdvsys ci -m 'update tarball and spec for version $(VERSION)'
rpm: clean ci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110120/eba3a27d/attachment.html>
More information about the Mageia-sysadm
mailing list