rpms/fence-agents/F-10 fence-agents.spec,1.8,1.9

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Oct 27 12:34:44 UTC 2009


Author: fabbione

Update of /cvs/pkgs/rpms/fence-agents/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32747

Modified Files:
	fence-agents.spec 
Log Message:
Switch to file based Requires for virsh



Index: fence-agents.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fence-agents/F-10/fence-agents.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- fence-agents.spec	27 Oct 2009 10:56:54 -0000	1.8
+++ fence-agents.spec	27 Oct 2009 12:34:44 -0000	1.9
@@ -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 open
 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 at redhat.com> - 3.0.4-3
+- Switch to file based Requires for virsh
+
 * Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.0.4-2
 - Fix Requires: on libvirt/libvirt-client
 




More information about the fedora-extras-commits mailing list