aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-01-20 07:50:42 +0000
committerOlivier Blin <blino@mageia.org>2011-01-20 07:50:42 +0000
commite9706aadc48b2e3704a8c42be17416d272bb8d55 (patch)
treedee92a1a7544b7ca2e60f75772ff40549bfc9fa3
parenteca53adde4295d44971ee840f503ab502b1d05be (diff)
downloadiurt-e9706aadc48b2e3704a8c42be17416d272bb8d55.tar
iurt-e9706aadc48b2e3704a8c42be17416d272bb8d55.tar.gz
iurt-e9706aadc48b2e3704a8c42be17416d272bb8d55.tar.bz2
iurt-e9706aadc48b2e3704a8c42be17416d272bb8d55.tar.xz
iurt-e9706aadc48b2e3704a8c42be17416d272bb8d55.zip
fix tarball name
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 737b199..d05f7cf 100644
--- a/Makefile
+++ b/Makefile
@@ -33,16 +33,16 @@ dir:
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 @@ ci: tar
# 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