rpms/fence-agents/devel fence-agents.spec,1.19,1.20

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


Author: fabbione

Update of /cvs/pkgs/rpms/fence-agents/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30269

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/devel/fence-agents.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- fence-agents.spec	27 Oct 2009 10:41:18 -0000	1.19
+++ fence-agents.spec	27 Oct 2009 12:25:14 -0000	1.20
@@ -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