Author: arekm                        Date: Tue Jun 13 11:47:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.6.8; DB driver no longer available

---- Files affected:
SPECS:
   dspam.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/dspam.spec
diff -u SPECS/dspam.spec:1.63 SPECS/dspam.spec:1.64
--- SPECS/dspam.spec:1.63       Fri May 19 11:21:50 2006
+++ SPECS/dspam.spec    Tue Jun 13 13:47:05 2006
@@ -12,19 +12,18 @@
 %bcond_without mysql   # disable MySQL storage driver
 %bcond_without pgsql   # disable PostgreSQL storage driver
 %bcond_without sqlite  # disable SQLite3 storage driver
-%bcond_without db      # disable BerkeleyDB storage driver
 %bcond_with    mysql40 # use with mysql 4.0
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       A library and Mail Delivery Agent for Bayesian spam filtering
 Summary(pl):   Biblioteka i MDA do bayesowskiego filtrowania spamu
 Name:          dspam
-Version:       3.6.5
-Release:       0.27
+Version:       3.6.8
+Release:       0.1
 License:       GPL
 Group:         Applications/Mail
 Source0:       
http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
-# Source0-md5: da4f0e00633bff49d71fde418caaf14b
+# Source0-md5: c4b1a7079690ee16d8b0f36b2a2a90a4
 Patch0:                %{name}-webui.patch
 Patch1:                %{name}-config.patch
 Patch2:                %{name}-speedup.patch
@@ -34,7 +33,6 @@
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: clamav-devel
-%{?with_db:BuildRequires:      db-devel}
 BuildRequires: libtool
 %{?with_mysql:BuildRequires:   mysql-devel}
 BuildRequires: openldap-devel
@@ -172,20 +170,6 @@
 %description driver-hash -l pl
 Sterownik HASH dla DSPAM-a.
 
-%package driver-db
-Summary:       DB driver for DSPAM
-Summary(pl):   Sterownik DB dla DSPAM-a
-Group:         Libraries
-Requires(post):        sed >= 4.0
-Requires:      %{name}-libs = %{version}-%{release}
-Provides:      %{name}-driver = %{version}-%{release}
-
-%description driver-db
-DB driver for DSPAM.
-
-%description driver-db -l pl
-Sterownik DB dla DSPAM-a.
-
 %package driver-mysql
 Summary:       MySQL driver for DSPAM
 Summary(pl):   Sterownik MySQL dla DSPAM-a
@@ -276,7 +260,6 @@
 
 DRIVERS="
 hash_drv
-%{?with_db:libdb4_drv}
 %{?with_mysql:mysql_drv}
 %{?with_pgsql:pgsql_drv}
 %{?with_sqlite:sqlite_drv}
@@ -346,9 +329,6 @@
 
 chmod 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name}
 
-# fix prefix
-sed -i -e "s|%{_prefix}/local|%{_prefix}|g" 
$RPM_BUILD_ROOT%{_bindir}/%{name}_corpus
-
 # fix purge stuff
 #install dspam-cron.weekly $RPM_BUILD_ROOT%{_sysconfdir}/cron.weekly/%{name}
 
@@ -405,11 +385,6 @@
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
-%post driver-db
-if [ "$1" = "1" ]; then
-       sed -i -e '/^StorageDriver/s,/.*.so,%{_libdir}/libdb4_drv.so,' 
/etc/dspam.conf
-fi
-
 %post driver-hash
 if [ "$1" = "1" ]; then
        sed -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libhash_drv.so,' 
/etc/dspam.conf
@@ -459,10 +434,8 @@
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}_logrotate
 %attr(755,root,root) %{_bindir}/%{name}_clean
-%attr(755,root,root) %{_bindir}/%{name}_corpus
 %attr(755,root,root) %{_bindir}/%{name}_crc
 %attr(755,root,root) %{_bindir}/%{name}_dump
-%attr(755,root,root) %{_bindir}/%{name}_genaliases
 %attr(755,root,root) %{_bindir}/%{name}_stats
 %attr(755,root,root) %{_bindir}/%{name}_merge
 %attr(755,root,root) %{_bindir}/%{name}_2sql
@@ -499,12 +472,6 @@
 %attr(755,root,root) %{_bindir}/css*
 %attr(755,root,root) %{_libdir}/libhash_drv*.so*
 
-%if %{with db}
-%files driver-db
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdb4_drv*.so*
-%endif
-
 %if %{with mysql}
 %files driver-mysql
 %defattr(644,root,root,755)
@@ -551,6 +518,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2006/06/13 11:47:05  arekm
+- up to 3.6.8; DB driver no longer available
+
 Revision 1.63  2006/05/19 09:21:50  qboosh
 - pl for -webui
 
================================================================

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

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

Reply via email to