From: Markus Lehtonen Date: Wed, 19 Dec 2012 08:49:56 +0000 (+0200) Subject: Build with external db X-Git-Tag: tizen-tools/4.11.0.1.tizen20140530-20140723~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fab161ca9e8d0d0b03b99238446939ef690710a;p=tools%2Flibrpm-tizen.git Build with external db Signed-off-by: Markus Lehtonen --- diff --git a/packaging/librpm-tizen.spec b/packaging/librpm-tizen.spec index 4fce7fee8..e8db46bc3 100644 --- a/packaging/librpm-tizen.spec +++ b/packaging/librpm-tizen.spec @@ -36,9 +36,8 @@ BuildRequires: pkgconfig(libsmack) %if 0%{?suse_version} BuildRequires: fdupes %endif +BuildRequires: db-devel -Source1: db-4.8.30.tar.bz2 -Source2: db-4.8.30-integration.dif Source4: rpm-tizen_macros Source8: rpmconfigcheck Source13: find-docs.sh @@ -70,12 +69,6 @@ the host system and it only contains rpmlib and rpm-python. %setup -q -n rpm-%{version} cp %{SOURCE1001} . rm -rf sqlite -tar xjf %{S:1} -ln -s db-4.8.30 db -chmod -R u+w db/* -# will get linked from db3 -rm -f rpmdb/db.h -patch -p0 < %{S:2} if [ -s %{_sysconfdir}/rpm/tizen_macros ]; then cp -a %{_sysconfdir}/rpm/tizen_macros %{SOURCE4} fi @@ -102,6 +95,7 @@ autoreconf -i -f --enable-shared \ --enable-python \ --without-msm \ + --with-external-db \ PYTHON_MODULENAME=%{python_mod_name} make %{?_smp_mflags}