[nut/f17] do not forget to restart nut-driver.service in postun
Michal Hlavinka
mhlavink at fedoraproject.org
Tue Sep 11 14:59:18 UTC 2012
commit 245d452cf8b57972e49009c4c06c478303849b1c
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Tue Sep 11 16:59:13 2012 +0200
do not forget to restart nut-driver.service in postun
nut.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index b88f6cd..53a19ab 100644
--- a/nut.spec
+++ b/nut.spec
@@ -14,7 +14,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.6.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Applications/System
License: GPLv2+
Url: http://www.networkupstools.org/
@@ -277,6 +277,7 @@ fi
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
/bin/systemctl try-restart nut-server.service >/dev/null 2>&1 || :
+ /bin/systemctl try-restart nut-driver.service >/dev/null 2>&1 || :
fi
%pre client
@@ -500,6 +501,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libnutscan.pc
%changelog
+* Tue Sep 11 2012 Michal Hlavinka <mhlavink at redhat.com> - 2.6.5-3
+- do not forget to restart nut-driver.service in postun
+
* Thu Sep 06 2012 Michal Hlavinka <mhlavink at redhat.com> - 2.6.5-1
- do not depend on devel files (#838139)
More information about the scm-commits
mailing list