packages: cronie/cronie.spec - restart crond when pam is upgraded; rel 2
glen
glen at pld-linux.org
Sun Oct 31 23:18:14 CET 2010
Author: glen Date: Sun Oct 31 22:18:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- restart crond when pam is upgraded; rel 2
---- Files affected:
packages/cronie:
cronie.spec (1.35 -> 1.36)
---- Diffs:
================================================================
Index: packages/cronie/cronie.spec
diff -u packages/cronie/cronie.spec:1.35 packages/cronie/cronie.spec:1.36
--- packages/cronie/cronie.spec:1.35 Mon Oct 25 13:40:37 2010
+++ packages/cronie/cronie.spec Sun Oct 31 23:18:08 2010
@@ -18,7 +18,7 @@
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.4.6
-Release: 1
+Release: 2
License: MIT and BSD and GPL v2
Group: Daemons
Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
@@ -171,6 +171,12 @@
%groupremove crontab
fi
+%triggerin -- pam
+# restart crond if pam is upgraded
+if [ "$2" != 1 ]; then
+ %service -q crond restart
+fi
+
%triggerun -- hc-cron,fcron,vixie-cron
# Prevent preun from crond from working
chmod a-x /etc/rc.d/init.d/crond
@@ -229,6 +235,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.36 2010/10/31 22:18:08 glen
+- restart crond when pam is upgraded; rel 2
+
Revision 1.35 2010/10/25 11:40:37 glen
- up to 1.4.6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cronie/cronie.spec?r1=1.35&r2=1.36&f=u
More information about the pld-cvs-commit
mailing list