From c305d730e54ed6425ca1f4c39d9fa28ea8b8095f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 18 Feb 2011 16:03:32 +0000 Subject: [PATCH] - restart crond if glibc is upgraded, LP#721338 Changed files: glibc.spec -> 1.893 --- glibc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 120b8ca..5e865a6 100644 --- a/glibc.spec +++ b/glibc.spec @@ -34,7 +34,7 @@ Summary(tr.UTF-8): GNU libc Summary(uk.UTF-8): GNU libc версії Name: glibc Version: 2.13 -Release: 2 +Release: 3 Epoch: 6 License: LGPL v2.1+ Group: Libraries @@ -1194,6 +1194,12 @@ rm -rf $RPM_BUILD_ROOT -/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 -- 2.44.0