Specify tag for libtool (fixes FTBFS # 838334 )

This commit is contained in:
Peter Robinson 2012-07-14 17:41:07 +01:00
parent 68a6ed0c7a
commit 5372d15f00

View File

@ -4,7 +4,7 @@
Summary: The Berkeley DB database library for C Summary: The Berkeley DB database library for C
Name: libdb Name: libdb
Version: 5.3.21 Version: 5.3.21
Release: 1%{?dist} Release: 2%{?dist}
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
Patch0: libdb-multiarch.patch Patch0: libdb-multiarch.patch
@ -213,8 +213,8 @@ make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
test -d dist/dist-tls || mkdir dist/dist-tls test -d dist/dist-tls || mkdir dist/dist-tls
# Static link db_dump185 with old db-185 libraries. # Static link db_dump185 with old db-185 libraries.
/bin/sh libtool --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo /bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
/bin/sh libtool --mode=link %{__cc} -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a /bin/sh libtool --tag=LD --mode=link %{__cc} -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
pushd dist/dist-tls pushd dist/dist-tls
ln -sf ../configure . ln -sf ../configure .
@ -396,6 +396,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libdb_java.so %{_libdir}/libdb_java.so
%changelog %changelog
* Sat Jul 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3.21-2
- Specify tag for libtool (fixes FTBFS # 838334 )
* Thu Jul 5 2012 Jindrich Novy <jnovy@redhat.com> 5.3.21-1 * Thu Jul 5 2012 Jindrich Novy <jnovy@redhat.com> 5.3.21-1
- update to 5.3.21 - update to 5.3.21
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html