From 7b2621b007eef7f02cce014730931bb70d25f220 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 23 Feb 2014 01:32:08 +0000 Subject: [PATCH] Add some of the previous aarch64 bits back as the sub configure don't use the macro --- libdb.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libdb.spec b/libdb.spec index 4b3f1a3..c41a9e0 100644 --- a/libdb.spec +++ b/libdb.spec @@ -4,7 +4,7 @@ Summary: The Berkeley DB database library for C Name: libdb Version: 5.3.28 -Release: 3%{?dist} +Release: 4%{?dist} Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz # For mt19937db.c @@ -225,6 +225,11 @@ test -d dist/dist-tls || mkdir dist/dist-tls /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 --tag=LD --mode=link %{__cc} -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a +# Update config files to understand aarch64 +for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do + cp /usr/lib/rpm/redhat/config.{guess,sub} "$dir" +done + pushd dist/dist-tls %define _configure ../configure %configure -C \ @@ -405,6 +410,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libdb_java.so %changelog +* Sat Feb 22 2014 Peter Robinson 5.3.28-4 +- Add some of the previous aarch64 bits back as the sub configure don't use the macro + * Sun Jan 26 2014 Peter Robinson 5.3.28-3 - Fix configure macro usage for better aarch64 build fix