summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2018-07-02 13:17:49 -0400
committerNathan Straz <nstraz@redhat.com>2018-07-02 13:17:49 -0400
commit8a1a80fa9d8b7564d9c61e7f889108b905af2576 (patch)
tree4e1561f68a20644365eea752458edfad3026e9d2
parent6886158efbac834e77fc0b5448cbec6584586c0e (diff)
downloadgxpp-8a1a80fa9d8b7564d9c61e7f889108b905af2576.tar.gz
gxpp-8a1a80fa9d8b7564d9c61e7f889108b905af2576.tar.xz
gxpp-8a1a80fa9d8b7564d9c61e7f889108b905af2576.zip
Switch to gzip tarballs for tito
-rw-r--r--Makefile4
-rw-r--r--gxpp.spec2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 693bc37..069b58a 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,11 @@ tarfiles += $(patsubst %,%.c,$(TARGETS))
tarfiles += gxp-int.c gxp-int.h
tarfiles += $(patsubst %,%.1,$(TARGETS))
-tarball := gxpp-$(VERSION).tar.bz2
+tarball := gxpp-$(VERSION).tar.gz
$(tarball): $(tarfiles)
-$(RM) $@
- git archive --format=tar --prefix=gxpp-$(VERSION)/ HEAD^{tree} | bzip2 -9 > $@
+ git archive --format=tar --prefix=gxpp-$(VERSION)/ HEAD^{tree} | gzip -9 > $@
tarball: $(tarball)
diff --git a/gxpp.spec b/gxpp.spec
index a0960fb..ed81be8 100644
--- a/gxpp.spec
+++ b/gxpp.spec
@@ -6,7 +6,7 @@ Summary: Simple XPath command line tools
Group: Applications/Text
License: GPL
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Source0: gxpp-%{version}.tar.bz2
+Source0: gxpp-%{version}.tar.gz
BuildRequires: libxml2-devel