[nut/f14] standard dependency adds udev, but we need it for %pre script
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Aug 12 12:46:44 UTC 2011
commit 55c718dc131925567aa1c46a716d5a0128d85d15
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Aug 12 14:46:25 2011 +0200
standard dependency adds udev, but we need it for %pre script
nut.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index eba423d..ffe5555 100644
--- a/nut.spec
+++ b/nut.spec
@@ -14,7 +14,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -69,7 +69,7 @@ Group: Applications/System
Summary: Network UPS Tools client monitoring utilities
Requires(post): chkconfig
Requires(preun): chkconfig
-Requires(pre): /usr/sbin/useradd
+Requires(pre): shadow-utils udev
#only for python and gui part
#Requires:
@@ -82,7 +82,7 @@ attached to a different computer on the network.
Group: Applications/System
Summary: CGI utilities for the Network UPS Tools
Requires: %{name}-client = %{version}-%{release} webserver
-Requires(pre): /usr/sbin/useradd
+Requires(pre): shadow-utils
%description cgi
This package includes CGI programs for accessing UPS status via a web
@@ -380,6 +380,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Fri Aug 12 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.1-2
+- standard dependency adds udev, but we need it for %%pre script
+
* Tue Jun 07 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.1-1
- nut updated to 2.6.1
More information about the scm-commits
mailing list