diff --git a/rpm-deptracking.patch b/rpm-deptracking.patch new file mode 100644 index 0000000..82d4f29 --- /dev/null +++ b/rpm-deptracking.patch @@ -0,0 +1,12 @@ +--- macros.in.orig ++++ macros.in +@@ -900,7 +900,8 @@ print (t)\ + --localstatedir=%{_localstatedir} \\\ + --sharedstatedir=%{_sharedstatedir} \\\ + --mandir=%{_mandir} \\\ +- --infodir=%{_infodir} ++ --infodir=%{_infodir} \\\ ++ --disable-dependency-tracking + + #------------------------------------------------------------------------------ + # The make install analogue of %configure for modern autotools: diff --git a/rpm.changes b/rpm.changes index 60a1454..52ec210 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Nov 15 21:36:05 UTC 2011 - crrodriguez@opensuse.org + +- The %configure macro should use --disable-dependency-tracking + that feature makes no sense when building rpms and only generates + extra I/O and uglify log files. Fedora uses it since + redhat-rpm-config version 9.1.0 too. + ------------------------------------------------------------------- Wed Oct 19 18:28:39 CEST 2011 - mls@suse.de diff --git a/rpm.spec b/rpm.spec index 14a5ea0..d1c6fab 100644 --- a/rpm.spec +++ b/rpm.spec @@ -114,6 +114,7 @@ Patch76: buildpipe.diff Patch77: mono-find-requires.diff Patch78: debugedit-stabs-warning.diff Patch79: headerchk.diff +Patch80: rpm-deptracking.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # # avoid bootstrapping problem @@ -176,7 +177,7 @@ rm -f rpmdb/db.h %patch -P 40 -P 41 -P 42 -P 43 -P 44 -P 45 -P 46 -P 47 -P 48 -P 49 %patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59 %patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69 -%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 +%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 -P 80 #chmod 755 scripts/find-supplements{,.ksyms} #chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms #chmod 755 scripts/firmware.prov @@ -208,11 +209,11 @@ BUILDTARGET="--build=%{_target_cpu}-suse-linux" #cp -p /usr/share/gettext/config.rpath . cp autogen.sh beecrypt pushd beecrypt -./autogen.sh --with-pic --without-python $BUILDTARGET +./autogen.sh --disable-dependency-tracking --with-pic --without-python $BUILDTARGET make %{?_smp_mflags} popd -./autogen.sh --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ +./autogen.sh --disable-dependency-tracking --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ --libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \ --with-selinux --with-internal-beecrypt \ --with-acl --with-cap --enable-shared %{?with_python: --enable-python} $BUILDTARGET