Author: arekm                        Date: Fri Jun 17 06:29:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
sqlite3 by default

---- Files affected:
SPECS:
   dspam.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/dspam.spec
diff -u SPECS/dspam.spec:1.31 SPECS/dspam.spec:1.32
--- SPECS/dspam.spec:1.31       Fri Jun 17 08:25:16 2005
+++ SPECS/dspam.spec    Fri Jun 17 08:29:18 2005
@@ -4,7 +4,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
@@ -22,11 +22,12 @@
 %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
@@ -158,14 +159,14 @@
        --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
@@ -299,6 +300,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2005/06/17 06:29:18  arekm
+sqlite3 by default
+
 Revision 1.31  2005/06/17 06:25:16  arekm
 - up to 3.4.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dspam.spec?r1=1.31&r2=1.32&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to