aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \