From 1857f8f81339c5248c485c75b1df0310b75c4f14 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 26 Jan 2014 21:49:39 +0000 Subject: [PATCH] Fix configure macro usage for better aarch64 build fix --- libdb.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libdb.spec b/libdb.spec index ef3676a..4b3f1a3 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: 2%{?dist} +Release: 3%{?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,13 +225,8 @@ 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 -ln -sf ../configure . +%define _configure ../configure %configure -C \ --enable-compat185 --enable-dump185 \ --enable-shared --enable-static \ @@ -410,6 +405,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libdb_java.so %changelog +* Sun Jan 26 2014 Peter Robinson 5.3.28-3 +- Fix configure macro usage for better aarch64 build fix + * Wed Nov 06 2013 Jan Stanek - 5.3.28-2 - Updated config files to allow build on aarch64 (#1022970)