From 8a3c3aed0118fd7bca47601c373d343323cdad4c Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Tue, 27 Oct 2009 10:47:51 +0000 Subject: [PATCH] Fix Requires: on libvirt/libvirt-client --- fence-agents.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fence-agents.spec b/fence-agents.spec index 80166a4..1235f82 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -19,7 +19,7 @@ Name: fence-agents Summary: Fence Agents for Red Hat Cluster Version: 3.0.4 -Release: 1%{?alphatag:.%{alphatag}}%{?dist} +Release: 2%{?alphatag:.%{alphatag}}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base URL: http://sources.redhat.com/cluster/wiki/ @@ -27,9 +27,15 @@ Source0: ftp://sources.redhat.com/pub/cluster/releases/fence-agents-%{version}%{ ## Runtime deps Requires: sg3_utils OpenIPMI telnet openssh-clients -Requires: pexpect net-snmp-utils libvirt-client +Requires: pexpect net-snmp-utils Requires: perl-Net-Telnet +%if 0%{?fedora} >= 12 +Requires: libvirt-client +%else +Requires: libvirt +%endif + ## Setup/build bits BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -85,6 +91,9 @@ power management for several devices. %{_mandir}/man8/fence* %changelog +* Tue Oct 27 2009 Fabio M. Di Nitto - 3.0.4-2 +- Fix Requires: on libvirt/libvirt-client + * Wed Oct 21 2009 Fabio M. Di Nitto - 3.0.4-1 - New upstream release - BuildRequire libxslt and pexpect for automatic man page generation