Switch to file based Requires: for virsh

This commit is contained in:
Fabio M. Di Nitto 2009-10-27 12:25:14 +00:00
parent 123a6f3e9d
commit 0399b7aae6

View File

@ -19,7 +19,7 @@
Name: fence-agents Name: fence-agents
Summary: Fence Agents for Red Hat Cluster Summary: Fence Agents for Red Hat Cluster
Version: 3.0.4 Version: 3.0.4
Release: 2%{?alphatag:.%{alphatag}}%{?dist} Release: 3%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: System Environment/Base Group: System Environment/Base
URL: http://sources.redhat.com/cluster/wiki/ URL: http://sources.redhat.com/cluster/wiki/
@ -30,11 +30,9 @@ Requires: sg3_utils OpenIPMI telnet openssh-clients
Requires: pexpect net-snmp-utils Requires: pexpect net-snmp-utils
Requires: perl-Net-Telnet Requires: perl-Net-Telnet
%if 0%{?fedora} >= 12 # This is required by fence_virsh. Per discussion on fedora-devel
Requires: libvirt-client # switching from package to file based require.
%else Requires: /usr/bin/virsh
Requires: libvirt
%endif
## Setup/build bits ## Setup/build bits
@ -91,6 +89,9 @@ power management for several devices.
%{_mandir}/man8/fence* %{_mandir}/man8/fence*
%changelog %changelog
* Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-3
- Switch to file based Requires for virsh
* Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-2 * Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-2
- Fix Requires: on libvirt/libvirt-client - Fix Requires: on libvirt/libvirt-client