From b5cba4b364912710ab5718b2a8370305dcc90016 Mon Sep 17 00:00:00 2001
From: Douglas Schilling Landgraf <dougsland@redhat.com>
Date: Mon, 8 Apr 2013 16:09:55 -0400
Subject: [PATCH 37/38] vdsm.spec: fence-agents-all
fence-agents package in version 4 replaced the package name
to fence-agents-all. This patch will adapt vdsm spec to this change.
Change-Id: Ia7933fd043e535b568ce368e8e61f44e330b25ae
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/13729
Reviewed-by: Federico Simoncelli <fsimonce@redhat.com>
---
vdsm.spec.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vdsm.spec.in b/vdsm.spec.in
index 14922e0..a00e989 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -89,6 +89,7 @@ Requires: dmidecode
ExclusiveArch: x86_64
Requires: device-mapper-multipath
Requires: e2fsprogs
+Requires: fence-agents-all
Requires: iscsi-initiator-utils
Requires: libvirt
Requires: lvm2
@@ -106,6 +107,7 @@ Requires: libvirt >= 0.9.10-21.el6_3.5
Requires: iscsi-initiator-utils >= 6.2.0.872-15
Requires: device-mapper-multipath >= 0.4.9-52
Requires: e2fsprogs >= 1.41.12-11
+Requires: fence-agents
Requires: kernel >= 2.6.32-279.9.1
Requires: sanlock >= 2.3-4, sanlock-python
Requires: initscripts >= 9.03.31-2.el6_3.1
@@ -115,6 +117,11 @@ Requires: lvm2 >= 2.02.95-10.el6_3.2
Requires: logrotate < 3.8.0
%endif
%else
+%if 0%{?fedora} >= 19
+Requires: fence-agents-all
+%else
+Requires: fence-agents
+%endif
# Subprocess and thread bug was found on python 2.7.2
Requires: python >= 2.7.3
Requires: qemu-kvm >= 2:0.15.0-4
@@ -141,7 +148,6 @@ Requires: systemd >= 197-1.fc18.2
Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
Requires: psmisc >= 22.6-15
-Requires: fence-agents
Requires: bridge-utils
Requires: sos
Requires: tree
--
1.8.1.4