From 123a6f3e9dd0109e041f3b91354c7321f6a50666 Mon Sep 17 00:00:00 2001 From: Fabio M. Di Nitto Date: Oct 27 2009 10:41:18 +0000 Subject: Fix Requires on libvirt/libvirt-client --- 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