]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- try refresh libtool for internal_db
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Sep 2008 16:23:24 +0000 (16:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix missing __cxx macro

Changed files:
    rpm.spec -> 1.837.2.42.2.49.2.20

rpm.spec

index 9aafd9a6771eb85111e2e1eb241f48a59f8e75d5..b1d8e4fc9a917e63493c59f7d5e575c73ce35495 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -146,6 +146,7 @@ Patch75:    %{name}-rpmte-segv.patch
 Patch76:       %{name}-pydebuginfo.patch
 Patch77:       %{name}-dirdeps-macro.patch
 Patch78:       %{name}-db3-configure.patch
+Patch79:       %{name}-macros-cpp.patch
 URL:           http://rpm5.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1.4
@@ -170,6 +171,7 @@ BuildRequires:      popt-devel >= %{reqpopt_ver}
 BuildRequires: python-modules >= 1:2.3
 BuildRequires: rpm-perlprov
 %{?with_python:BuildRequires:  rpm-pythonprov}
+BuildRequires: rpmbuild(macros) >= 1.351
 BuildRequires: tar >= 1:1.15.1
 BuildRequires: zlib-devel
 %if %{with apidocs}
@@ -295,10 +297,11 @@ Summary:  RPMs library
 Summary(pl.UTF-8):     Biblioteki RPM-a
 Group:         Libraries
 Requires:      beecrypt >= %{beecrypt_ver}
-Requires:      db >= %{reqdb_ver}
-%{?with_selinux:Requires:      libselinux >= 1.18}
+%{!?with_internal_db:Requires: db >= %{reqdb_ver}}
 %{?with_system_libmagic:Requires:      libmagic >= 1.15-2}
+%{?with_selinux:Requires:      libselinux >= 1.18}
 Requires:      popt >= %{reqpopt_ver}
+%{?with_nptl:Requires: uname(release) >= 2.6.0}
 Requires:      zlib >= 1.2.3
 %{?with_suggest_tags:Suggests: lzma >= 1:4.42.0}
 Obsoletes:     rpm-libs
@@ -744,6 +747,7 @@ install %{SOURCE13} scripts/perl.prov
 %patch76 -p1
 %endif
 %patch77 -p0
+%patch79 -p1
 
 mv -f po/{sr,sr@Latn}.po
 rm -rf sqlite zlib popt rpmdb/db.h
@@ -756,7 +760,11 @@ sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
 %endif
 cp -f /usr/share/aclocal/libtool.m4 dist/aclocal/libtool.ac
 cp -f /usr/share/automake/config.sub dist
-cp -f /usr/share/libtool/ltmain.sh dist
+if [ -f /usr/share/libtool/config/ltmain.sh ]; then
+       cp -f /usr/share/libtool/config/ltmain.sh dist
+else
+       cp -f /usr/share/libtool/ltmain.sh dist
+fi
 cd -
 %patch78 -p1
 %else
@@ -797,6 +805,11 @@ cd ..
 %{__autoheader}
 %{__autoconf}
 %{__automake}
+%if %{with internal_db}
+cd db3
+%{__libtoolize}
+cd ..
+%endif
 
 # config.guess doesn't handle athlon, so we have to change it by hand.
 # rpm checks for CPU type at runtime, but it looks better
This page took 0.038786 seconds and 4 git commands to generate.