# Conditional build:
%bcond_with static # don't use shared libraries
%bcond_without imode # don't build interactive mode
-%bcond_without python # don't build python bindings
+%bcond_with python # don't build python bindings
%bcond_with tests # tests
# required versions (forced to avoid SEGV with mixed db used by rpm and poldek)
Patch6: rpm-4.15.patch
Patch7: db-index-format.patch
Patch8: rpm4-uname-deps.patch
+Patch9: sqlite-rpmdb.patch
+Patch10: rpm4-cpuinfo-deps.patch
+Patch11: rpm4-no-dir-deps.patch
+Patch12: rpm4-rpmvercmp.patch
+Patch13: trurlib-shared.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}
BuildRequires: autoconf >= 2.63
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+cd trurlib
+%patch13 -p1
+cd ..
%{__rm} doc/poldek.info
%{__rm} m4/libtool.m4 m4/lt*.m4