rpms/dspam/F-12 dspam-init.d,1.1,1.2 dspam.spec,1.2,1.3

Nathanael Noblet gnat at fedoraproject.org
Wed Mar 3 17:29:05 UTC 2010


Author: gnat

Update of /cvs/pkgs/rpms/dspam/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9066/F-12

Modified Files:
	dspam-init.d dspam.spec 
Log Message:
fixed initscript ordering bug


Index: dspam-init.d
===================================================================
RCS file: /cvs/pkgs/rpms/dspam/F-12/dspam-init.d,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- dspam-init.d	24 Jan 2010 21:24:48 -0000	1.1
+++ dspam-init.d	3 Mar 2010 17:29:04 -0000	1.2
@@ -4,7 +4,7 @@
 #
 # Written by Stevan Bajic <stevan at bajic.ch>.
 #
-# chkconfig:    - 70 30
+# chkconfig:    - 40 80
 # description:  DSPAM (De-Spam) is a scalable, open-source statistical
 #               anti-spam filter that provides high levels of accuracy with minimal
 #               resources.


Index: dspam.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dspam/F-12/dspam.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- dspam.spec	9 Feb 2010 11:34:56 -0000	1.2
+++ dspam.spec	3 Mar 2010 17:29:04 -0000	1.3
@@ -9,7 +9,7 @@
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM filtering
 Name:                   dspam
 Version:                3.9.0
-Release:                4%{?dist}
+Release:                6%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -252,6 +252,10 @@ done
 %post
 /sbin/chkconfig --add %{name}
 
+if [ $1 -gt 1 ]; then
+/sbin/chkconfig %{name} resetpriorities
+fi
+
 %preun
 if [ $1 -eq 0 ]; then
     /sbin/service %{name} stop &>/dev/null || :
@@ -356,6 +360,10 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed Mar 3 2010 Nathanael Noblet <nathanael at gnat.ca> - 3.9.0-6
+- Updated dspam initscript default start position to be after DBs
+- reset initscript priorities
+
 * Tue Feb 9 2010 Nathanael Noblet <nathanael at gnat.ca> - 3.9.0-4
 - Updated dspam cron file to be able to find sql purge scripts
 



More information about the scm-commits mailing list