packages: glibc/glibc.spec - restart crond if glibc is upgraded, LP#721338

glen glen at pld-linux.org
Fri Feb 18 17:03:37 CET 2011


Author: glen                         Date: Fri Feb 18 16:03:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- restart crond if glibc is upgraded, LP#721338

---- Files affected:
packages/glibc:
   glibc.spec (1.892 -> 1.893) 

---- Diffs:

================================================================
Index: packages/glibc/glibc.spec
diff -u packages/glibc/glibc.spec:1.892 packages/glibc/glibc.spec:1.893
--- packages/glibc/glibc.spec:1.892	Fri Feb 11 09:15:45 2011
+++ packages/glibc/glibc.spec	Fri Feb 18 17:03:32 2011
@@ -35,7 +35,7 @@
 Summary(uk.UTF-8):	GNU libc версії
 Name:		glibc
 Version:	2.13
-Release:	2
+Release:	3
 Epoch:		6
 License:	LGPL v2.1+
 Group:		Libraries
@@ -1195,6 +1195,12 @@
 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
 %endif
 
+%triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
+# restart crond if glibc is upgraded, LP#721338
+if [ "$1" != 1 ]; then
+	%service -q crond restart
+fi
+
 %post	libcrypt -p /sbin/ldconfig
 %postun	libcrypt -p /sbin/ldconfig
 
@@ -1693,6 +1699,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.893  2011/02/18 16:03:32  glen
+- restart crond if glibc is upgraded, LP#721338
+
 Revision 1.892  2011/02/11 08:15:45  arekm
 - rel 2; fix memmove-ssse3 static linking (from gentoo)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glibc/glibc.spec?r1=1.892&r2=1.893&f=u



More information about the pld-cvs-commit mailing list