[nut/f16] update requirements of packages

Michal Hlavinka mhlavink at fedoraproject.org
Tue Aug 16 12:05:43 UTC 2011


commit a50f7791fe29c51f0d3fed4dd3f6b912f711cfb7
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Tue Aug 16 14:05:26 2011 +0200

    update requirements of packages

 nut.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index 48bc00f..411c7b6 100644
--- a/nut.spec
+++ b/nut.spec
@@ -14,7 +14,7 @@
 Summary: Network UPS Tools
 Name: nut
 Version: 2.6.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Applications/System
 License: GPLv2+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -25,9 +25,9 @@ Source3: nut-client.tmpfiles
 # add systemd support
 Patch1:  nut-2.6.1-systemd.patch
 
-Requires(pre): udev
-Requires(post): fileutils chkconfig initscripts
-Requires(postun): fileutils chkconfig initscripts
+Requires(pre): shadow-utils udev
+Requires(post): fileutils chkconfig 
+Requires(postun): fileutils chkconfig 
 Obsoletes: nut-hal < 2.6.0-7
 
 BuildRequires: autoconf
@@ -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): shadow-utils
+Requires(pre): shadow-utils udev
 
 %description cgi
 This package includes CGI programs for accessing UPS status via a web
@@ -457,6 +457,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libupsclient.pc
 
 %changelog
+* Tue Aug 16 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.1-4
+- update requirements of packages
+
 * Fri Jul 22 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.1-3
 - add initial support for systemd
 


More information about the scm-commits mailing list