rpms/boinc-client/F-10 boinc-client-logrotate-d, 1.2, 1.3 boinc-client.spec, 1.29, 1.30

Miloš Jakubíček mjakubicek at fedoraproject.org
Tue Apr 14 16:08:37 UTC 2009


Author: mjakubicek

Update of /cvs/pkgs/rpms/boinc-client/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17520

Modified Files:
	boinc-client-logrotate-d boinc-client.spec 
Log Message:
- Fix lock file name in logrotate script, do not override
  global logrotate configuration (BZ#494179).



Index: boinc-client-logrotate-d
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/F-10/boinc-client-logrotate-d,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- boinc-client-logrotate-d	8 Apr 2009 00:01:02 -0000	1.2
+++ boinc-client-logrotate-d	14 Apr 2009 16:08:06 -0000	1.3
@@ -10,38 +10,28 @@
 # Author: Kathryn Marks <kathryn.boinc at gmail.com>
 # Created: October 6, 2007
 # Modified: Milos Jakubicek <xjakub at fi.muni.cz>
-# Last Modified: April 7, 2009
+# Last Modified: April 12, 2009
 ######################################################################
 
-# Global Parameters
-
-missingok
-compress
-delaycompress
-notifempty
-nomail
-
-# Log Specific Parameters
-
-# boinc.log and boincerr.log
-
 /var/log/boinc.log /var/log/boincerr.log
 {
-        create 664 boinc boinc
-        sharedscripts
-        prerotate
-          if [ -f /var/lock/subsys/boinc ]; then
-            touch /var/run/boinc_was_running
-            /etc/init.d/boinc-client stop
-          fi
-        endscript
-        postrotate
-          if [ -f /var/run/boinc_was_running ]; then
-            rm /var/run/boinc_was_running
-            /etc/init.d/boinc-client start
-          fi
-        endscript
+	missingok
+	compress
+	delaycompress
+	notifempty
+	nomail
+	create 664 boinc boinc
+	sharedscripts
+	prerotate
+	if [ -f /var/lock/subsys/boinc-client ]; then
+		touch /var/run/boinc_was_running
+		service boinc-client stop >& /dev/null
+	fi
+	endscript
+	postrotate
+	if [ -f /var/run/boinc_was_running ]; then
+		rm /var/run/boinc_was_running
+		service boinc-client start >& /dev/null
+	fi
+	endscript
 }
-
-## EOF ##
-


Index: boinc-client.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/F-10/boinc-client.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- boinc-client.spec	8 Apr 2009 00:01:02 -0000	1.29
+++ boinc-client.spec	14 Apr 2009 16:08:06 -0000	1.30
@@ -4,7 +4,7 @@
 Summary:	The BOINC client core
 Name:		boinc-client
 Version:	6.4.7
-Release:	9.r%{revision}svn%{?dist}
+Release:	10.r%{revision}svn%{?dist}
 License:	LGPLv2+
 Group:		Applications/Engineering
 URL:		http://boinc.berkeley.edu/
@@ -331,6 +331,10 @@
 %{_includedir}/boinc/*
 
 %changelog
+* Wed Apr 14 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 6.4.7-10.r17542svn
+- Fix lock file name in logrotate script, do not override
+  global logrotate configuration (BZ#494179).
+
 * Wed Apr 08 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 6.4.7-9.r17542svn
 - Fix logrotate script (resolves BZ#494179).
 




More information about the fedora-extras-commits mailing list