packages: cronie/cronie.spec - rel 11 - that's how you do it, blues

baggins baggins at pld-linux.org
Mon Feb 6 17:27:02 CET 2012


Author: baggins                      Date: Mon Feb  6 16:27:02 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 11
- that's how you do it, blues

---- Files affected:
packages/cronie:
   cronie.spec (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: packages/cronie/cronie.spec
diff -u packages/cronie/cronie.spec:1.53 packages/cronie/cronie.spec:1.54
--- packages/cronie/cronie.spec:1.53	Sun Feb  5 18:34:00 2012
+++ packages/cronie/cronie.spec	Mon Feb  6 17:26:57 2012
@@ -18,7 +18,7 @@
 Summary:	Cron daemon for executing programs at set times
 Name:		cronie
 Version:	1.4.8
-Release:	10
+Release:	11
 License:	MIT and BSD and GPL v2
 Group:		Daemons
 Source0:	https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
@@ -180,7 +180,18 @@
 fi
 %systemd_reload
 
-%triggerpostun -- cronie < 1.4.8-9
+%triggerpostun -- cronie < 1.4.8-11
+if [ -f /etc/sysconfig/cron ]; then
+	. /etc/sysconfig/cron
+	__CROND_ARGS=
+	[ "$CROND_SYSLOG_RESULT" = "yes" ] && __CROND_ARGS="-s"
+	[ -n "$CROND_MAIL_PROG" ] && __CROND_ARGS="$__CROND_ARGS -m $CROND_MAIL_PROG"
+	[ -z "$__CROND_ARGS" ] && exit 0
+	cp -f /etc/sysconfig/cron{,.rpmsave}
+	echo >>/etc/sysconfig/cron
+	echo "# Added by rpm trigger" >>/etc/sysconfig/cron
+	echo "CROND_ARGS=\"$CROND_ARGS $__CROND_ARGS\"" >>/etc/sysconfig/cron
+fi
 %systemd_trigger cronie.service
 
 %triggerun -- hc-cron,fcron,vixie-cron
@@ -245,6 +256,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2012/02/06 16:26:57  baggins
+- rel 11
+- that's how you do it, blues
+
 Revision 1.53  2012/02/05 17:34:00  baggins
 - rel 10
 - added O:-systemd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cronie/cronie.spec?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list