SPECS: dspam.spec - update to 3.8.0-STABLE - always patch config w...

glen glen at pld-linux.org
Tue Aug 21 08:15:41 CEST 2007


Author: glen                         Date: Tue Aug 21 06:15:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 3.8.0-STABLE
- always patch config with storage driver update

---- Files affected:
SPECS:
   dspam.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/dspam.spec
diff -u SPECS/dspam.spec:1.70 SPECS/dspam.spec:1.71
--- SPECS/dspam.spec:1.70	Sun Jun 24 10:40:50 2007
+++ SPECS/dspam.spec	Tue Aug 21 08:15:36 2007
@@ -18,12 +18,12 @@
 Summary:	A library and Mail Delivery Agent for Bayesian spam filtering
 Summary(pl.UTF-8):	Biblioteka i MDA do bayesowskiego filtrowania spamu
 Name:		dspam
-Version:	3.6.8
+Version:	3.8.0
 Release:	0.1
 License:	GPL
 Group:		Applications/Mail
 Source0:	http://dspam.nuclearelephant.com/sources/%{name}-%{version}.tar.gz
-# Source0-md5:	c4b1a7079690ee16d8b0f36b2a2a90a4
+# Source0-md5:	056b8c8b3ad9415a52c01b22ff1e64cf
 Patch0:		%{name}-webui.patch
 Patch1:		%{name}-config.patch
 Patch2:		%{name}-speedup.patch
@@ -387,24 +387,16 @@
 %postun	libs -p /sbin/ldconfig
 
 %post driver-hash
-if [ "$1" = "1" ]; then
-	sed -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libhash_drv.so,' /etc/dspam.conf
-fi
+%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libhash_drv.so,' /etc/dspam.conf
 
 %post driver-mysql
-if [ "$1" = "1" ]; then
-	sed -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libmysql_drv.so,' /etc/dspam.conf
-fi
+%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libmysql_drv.so,' /etc/dspam.conf
 
 %post driver-pgsql
-if [ "$1" = "1" ]; then
-	sed -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libpgsql_drv.so,' /etc/dspam.conf
-fi
+%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libpgsql_drv.so,' /etc/dspam.conf
 
 %post driver-sqlite
-if [ "$1" = "1" ]; then
-	sed -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libsqlite_drv.so,' /etc/dspam.conf
-fi
+%{__sed} -i -e '/^StorageDriver/s,/.*\.so,%{_libdir}/libsqlite_drv.so,' /etc/dspam.conf
 
 %triggerin webui -- apache1 < 1.3.37-3, apache1-base
 %webapp_register apache %{_webapp}
@@ -519,6 +511,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2007/08/21 06:15:36  glen
+- update to 3.8.0-STABLE
+- always patch config with storage driver update
+
 Revision 1.70  2007/06/24 08:40:50  qboosh
 - drivers need base, not just -libs (for dspam.conf file)
 
@@ -608,7 +604,7 @@
 - drivers as loadable modules; enable ldap support
 
 Revision 1.43  2005/10/18 10:52:26  paszczus
-- added version info to prevoius commit; adaptarized
+- added version info to previous commit; adaptarized
 
 Revision 1.42  2005/10/18 10:47:54  speedo
 - Update [3.6.0]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dspam.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list