From 4f4761411751c2c3521a995ca70eae87676cbf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 3 Apr 2013 10:49:29 +0200 Subject: [PATCH] Added sqlite compability CFLAGS (#788496) --- libdb.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libdb.spec b/libdb.spec index fd6a17f..f42135b 100644 --- a/libdb.spec +++ b/libdb.spec @@ -4,7 +4,7 @@ Summary: The Berkeley DB database library for C Name: libdb Version: 5.3.21 -Release: 8%{?dist} +Release: 9%{?dist} Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz Patch0: libdb-multiarch.patch @@ -205,7 +205,9 @@ cd dist ./s_config %build -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/" +export CFLAGS # Build the old db-185 libraries. make -C db.1.85/PORT/%{_os} OORG="$CFLAGS" @@ -395,6 +397,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libdb_java.so %changelog +* Wed Apr 03 2013 Jan Stanek 5.3.21-9 +- Added sqlite compability CFLAGS (#788496) + * Wed Mar 27 2013 Jan Stanek 5.3.21-8 - Cleaning the specfile - removed gcc-java dependecy other way