[nut/el5] reload udev rules after instalation
Michal Hlavinka
mhlavink at fedoraproject.org
Mon Apr 30 12:06:26 UTC 2012
commit e8fa7cc48a2180b4c7f5689b3772805a52940e00
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Mon Apr 30 14:06:21 2012 +0200
reload udev rules after instalation
nut.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index c1b0630..cf3602f 100644
--- a/nut.spec
+++ b/nut.spec
@@ -9,7 +9,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -262,6 +262,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/usbhid-ups.8.gz
%{_mandir}/man8/netxml-ups.8.gz
+%post
+/sbin/ldconfig
+udevadm control --reload ||:
%files client
%doc COPYING
@@ -311,6 +314,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Mon Apr 30 2012 Michal Hlavinka <mhlavink at redhat.com> 2.2.2-1
+- reload udev rules after instalation
+
* Wed Mar 23 2011 Michal Hlavinka <mhlavink at redhat.com> 2.2.2-1
- update to 2.2.2 (#683538)
More information about the scm-commits
mailing list