From 6e185c3778f17e13b3af22c2ecd8290c1734bf46 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 29 Sep 2013 18:28:34 +0200 Subject: [PATCH] - added db60 bcond --- poldek.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/poldek.spec b/poldek.spec index 95ee271..d51f319 100644 --- a/poldek.spec +++ b/poldek.spec @@ -4,14 +4,22 @@ %bcond_without imode # don't build interactive mode %bcond_without python # don't build python bindings %bcond_with snap # install configs for official Th snapshot +%bcond_with db60 # DB 6.0 instead of 5.2 # current snapshot name %define SNAP 2012 # required versions (forced to avoid SEGV with mixed db used by rpm and poldek) +# NOTE: poldek links with "system db" (-ldb) anyway if it exists +%if %{with db60} +%define db_pkg db6.0 +%define ver_db 6.0 +%define ver_db_rel 1 +%else %define db_pkg db5.2 %define ver_db 5.2 %define ver_db_rel 3 +%endif %define ver_rpm 5.4.10 %define rel 3 -- 2.44.0