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