]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- added db60 bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2013 16:28:34 +0000 (18:28 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2013 16:28:34 +0000 (18:28 +0200)
poldek.spec

index 95ee271ffc5cefbebaae0808cf25da926e04349d..d51f3196d4d760d798cc27f42c1f5e1711894df0 100644 (file)
@@ -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
This page took 0.02878 seconds and 4 git commands to generate.