aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-12 23:26:03 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-12 23:26:03 +0000
commit6f9428b77ed69b4636cb163f399770ac68199b65 (patch)
treeb615e4814e511d87d45f1f78557f617ac3e0aa99
parentd976242d0abf668fecfeb765b2533ec271a938ab (diff)
downloadspec-helper-6f9428b77ed69b4636cb163f399770ac68199b65.tar
spec-helper-6f9428b77ed69b4636cb163f399770ac68199b65.tar.gz
spec-helper-6f9428b77ed69b4636cb163f399770ac68199b65.tar.bz2
spec-helper-6f9428b77ed69b4636cb163f399770ac68199b65.tar.xz
spec-helper-6f9428b77ed69b4636cb163f399770ac68199b65.zip
- _extension should be lzma
-rw-r--r--Makefile4
-rw-r--r--spec-helper.macros.in2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2fbfc81..fbea064 100644
--- a/Makefile
+++ b/Makefile
@@ -42,9 +42,9 @@ dir:
mkdir $(PACKAGE)-$(VERSION)
localcopy: dir
- tar c $(FILES) | (cd $(PACKAGE)-$(VERSION) ; tar x)
+ tar cf - $(FILES) | (cd $(PACKAGE)-$(VERSION) ; tar xf -)
-tar: dir
+tar: dir localcopy
tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
bzip2 -9vf $(PACKAGE)-$(VERSION).tar
rm -rf $(PACKAGE)-$(VERSION)
diff --git a/spec-helper.macros.in b/spec-helper.macros.in
index 224718f..1962448 100644
--- a/spec-helper.macros.in
+++ b/spec-helper.macros.in
@@ -1,5 +1,7 @@
# $Id$
+%_extension .lzma
+
%_spec_helper_dir @pkgdatadir@
%__spec_helper_post \