[nut] nut-hal should be obsoleted to prevent broken dependency in yum
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Apr 21 09:31:32 UTC 2011
commit 01e53398036091c0282fb6eba9b068ea336fdac3
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Thu Apr 21 11:31:18 2011 +0200
nut-hal should be obsoleted to prevent broken dependency in yum
nut.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index f7787c1..ea8a52a 100644
--- a/nut.spec
+++ b/nut.spec
@@ -14,7 +14,7 @@
Summary: Network UPS Tools
Name: nut
Version: 2.6.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Group: Applications/System
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -29,6 +29,7 @@ Patch0: nut-2.2.1-conf.patch
Requires(pre): udev
Requires(post): fileutils chkconfig initscripts
Requires(postun): fileutils chkconfig initscripts
+Obsoletes: nut-hal < 2.6.0-7
BuildRequires: autoconf
BuildRequires: automake
@@ -360,6 +361,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libupsclient.pc
%changelog
+* Thu Apr 21 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.0-7
+- nut-hal should be obsoleted to prevent broken dependency in yum
+
* Wed Apr 20 2011 Michal Hlavinka <mhlavink at redhat.com> - 2.6.0-6
- standard dependency adds udev, but we need it for %%pre script
More information about the scm-commits
mailing list