[libdb] Added sqlite compability CFLAGS (#788496)
Jan Staněk
jstanek at fedoraproject.org
Wed Apr 3 08:49:59 UTC 2013
commit 4f4761411751c2c3521a995ca70eae87676cbf46
Author: Jan Staněk <jstanek at redhat.com>
Date: Wed Apr 3 10:49:29 2013 +0200
Added sqlite compability CFLAGS (#788496)
libdb.spec | 9 +++++++--
1 files 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 <jstanek at redhat.com> 5.3.21-9
+- Added sqlite compability CFLAGS (#788496)
+
* Wed Mar 27 2013 Jan Stanek <jstanek at redhat.com> 5.3.21-8
- Cleaning the specfile - removed gcc-java dependecy other way
More information about the scm-commits
mailing list