rpms/rpm/F-10 rpm.spec,1.315,1.316

Jindrich Novy jnovy at fedoraproject.org
Tue Nov 3 13:16:38 UTC 2009


Author: jnovy

Update of /cvs/pkgs/rpms/rpm/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5161

Modified Files:
	rpm.spec 
Log Message:
* Tue Nov 03 2009 Jindrich Novy <jnovy at redhat.com> - 4.6.1-3
- regenerate configure when xz support is enabled (#532503)



Index: rpm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpm/F-10/rpm.spec,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -p -r1.315 -r1.316
--- rpm.spec	15 Sep 2009 07:08:27 -0000	1.315
+++ rpm.spec	3 Nov 2009 13:16:37 -0000	1.316
@@ -17,7 +17,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -80,6 +80,7 @@ BuildRequires: bzip2-devel >= 0.9.0c-2
 BuildRequires: python-devel >= 2.2
 BuildRequires: lua-devel >= 5.1
 %if %{with xz}
+BuildRequires: autoconf
 BuildRequires: xz-devel >= 4.999.8
 %endif
 %if %{with sqlite}
@@ -174,7 +175,9 @@ that will manipulate RPM packages and da
 %patch100 -p1 -b .pkgconfig-deps
 
 %patch300 -p1 -b .niagara
+%if %{with xz}
 %patch301 -p1 -b .xz
+%endif
 %patch302 -p1 -b .pkgconfig-nover
 
 %if %{with int_bdb}
@@ -190,6 +193,9 @@ CPPFLAGS="$CPPFLAGS `pkg-config --cflags
 CFLAGS="$RPM_OPT_FLAGS"
 export CPPFLAGS CFLAGS LDFLAGS
 
+%if %{with xz}
+autoconf
+%endif
 # Using configure macro has some unwanted side-effects on rpm platform
 # setup, use the old-fashioned way for now only defining minimal paths.
 ./configure \
@@ -372,6 +378,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Tue Nov 03 2009 Jindrich Novy <jnovy at redhat.com> - 4.6.1-3
+- regenerate configure when xz support is enabled (#532503)
+
 * Tue Sep 15 2009 Panu Matilainen <pmatilai at redhat.com> - 4.6.1-2
 - add support for XZ payloads and sources (#514480)
 - handle empty version in pkg-config files (#505351)




More information about the fedora-extras-commits mailing list