[packages/poldek] - added db60 bcond

qboosh qboosh at pld-linux.org
Sun Sep 29 18:27:53 CEST 2013


commit 6e185c3778f17e13b3af22c2ecd8290c1734bf46
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 29 18:28:34 2013 +0200

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/6e185c3778f17e13b3af22c2ecd8290c1734bf46



More information about the pld-cvs-commit mailing list