diff options
author | Nathan Straz <nstraz@redhat.com> | 2009-04-20 12:48:06 -0400 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2009-04-20 12:48:06 -0400 |
commit | 24ac57463bae0ed32033e20c7e47c2078f1a68c8 (patch) | |
tree | 7bd36e20e86aed6d49b51403ded87b288de87421 | |
parent | a37dda7297ac4d3c099d279551ae46cd1e8c5e27 (diff) | |
download | gxpp-24ac57463bae0ed32033e20c7e47c2078f1a68c8.tar.gz gxpp-24ac57463bae0ed32033e20c7e47c2078f1a68c8.tar.xz gxpp-24ac57463bae0ed32033e20c7e47c2078f1a68c8.zip |
Update spec to build from proper tarball
-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 |