[sssd/f15/master] Fix %postun
Stephen Gallagher
sgallagh at fedoraproject.org
Mon Apr 18 15:02:51 UTC 2011
commit 565c007a5e8047697d8b8f27c16ea38f0b0d6343
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Mon Apr 18 11:02:57 2011 -0400
Fix %postun
sssd.spec | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/sssd.spec b/sssd.spec
index d11c313..33b6c6b 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -9,7 +9,7 @@
Name: sssd
Version: 1.5.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Applications/System
Summary: System Security Services Daemon
License: GPLv3+
@@ -280,11 +280,7 @@ if /sbin/chkconfig sssd ; then
/bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 || :
fi
-%postun -p /sbin/ldconfig
-
-%post client -p /sbin/ldconfig
-
-%postun client
+%postun
/sbin/ldconfig
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
@@ -293,7 +289,14 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || :
fi
+%post client -p /sbin/ldconfig
+
+%postun client -p /sbin/ldconfig
+
%changelog
+* Mon Apr 18 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.5.5-4
+- Fix %%postun
+
* Thu Apr 14 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.5.5-3
- Fix systemd conversion. Upgrades from SysV to systemd weren't properly
- enabling the systemd service.
More information about the scm-commits
mailing list