diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | gxpp.spec | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -33,7 +33,7 @@ tarball := gxpp-$(VERSION).tar.bz2 $(tarball): $(tarfiles) -$(RM) $@ - tar cjf $@ $^ + git archive --format=tar --prefix=gxpp-$(VERSION)/ HEAD^{tree} | bzip2 -9 > $@ tarball: $(tarball) @@ -1,11 +1,11 @@ Name: gxpp Version: 1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple XPath command line tools Group: QA License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Source0: gxpp-%{version}.tar.bz2 BuildRequires: libxml2-devel @@ -15,7 +15,7 @@ This is a set of simple but powerful tools to query and manipulate XML files using XPath expressions. %prep -%setup -q -c +%setup -q %build |