]> git.pld-linux.org Git - packages/dspam.git/commitdiff
sqlite3 by default
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 17 Jun 2005 06:29:18 +0000 (06:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dspam.spec -> 1.32

dspam.spec

index c4cf44a105c2a6d2b061ac7e4f4b0021aa659a18..6ef16410232c643db7a045105b1fabbfd9013041 100644 (file)
@@ -3,7 +3,7 @@
 # Conditional build:
 %bcond_with    mysql   # enable MySQL storage driver (disable sqlite driver)
 %bcond_with    pgsql   # enable PostgreSQL storage driver (disable sqlite driver)
-%bcond_with    sqlite3 # enable SQLite3 storage driver (disable sqlite2 driver)
+%bcond_with    sqlite2 # enable SQLite2 storage driver (disable sqlite3 driver)
 #
 Summary:       A library and Mail Delivery Agent for Bayesian spam filtering
 Summary(pl):   Biblioteka i MDA do bayesowskiego filtrowania spamu
@@ -21,11 +21,12 @@ BuildRequires:      mysql-devel
 %if %{with pgsql}
 BuildRequires: postgresql-devel
 %else
-%if %{with sqlite3}
-BuildRequires: sqlite3-devel
-%else
+%if %{with sqlite2}
 BuildRequires: sqlite-devel
 BuildRequires: sqlite-static
+%else
+BuildRequires: sqlite3-devel
+BuildRequires: sqlite3-static
 %endif
 %endif
 %endif
@@ -157,14 +158,14 @@ sed -i -e 's#-static##g' src/tools/Makefile*
        --with-pgsql-includes=%{_includedir}/postgresql \
        --with-pgsql-libraries=%{_libdir}
 %else
-%if %{with sqlite3}
+%if %{with sqlite2}
+        --with-storage-driver=sqlite_drv \
+        --with-sqlite-includes=%{_includedir} \
+        --with-sqlite-libraries=%{_libdir}
+%else
        --with-storage-driver=sqlite3_drv \
        --with-sqlite3-includes=%{_includedir} \
        --with-sqlite3-libraries=%{_libdir}
-%else
-       --with-storage-driver=sqlite_drv \
-       --with-sqlite-includes=%{_includedir} \
-       --with-sqlite-libraries=%{_libdir}
 %endif
 %endif
 %endif
This page took 0.07521 seconds and 4 git commands to generate.