Accepting request 92884 from Base:System

- 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. (forwarded request 91694 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/92884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=164
This commit is contained in:
Stephan Kulow 2011-11-23 11:03:14 +00:00 committed by Git OBS Bridge
commit 483de7cfbe
3 changed files with 24 additions and 3 deletions

12
rpm-deptracking.patch Normal file
View File

@ -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:

View File

@ -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

View File

@ -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