diff options
author | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-11-08 15:08:37 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-11-08 09:30:12 -0800 |
commit | 3e980c5eff495725e7c01793451bc81fd6f94ad5 (patch) | |
tree | 78d2859a591f376e1f79a9b92f9a60063f7cbf96 | |
parent | e9023083b3a165390a8cc8fc77253f354744e81a (diff) |
build: Update version check for resource-agents on RHEL
With bug1302545[1] and bug1303037[2], portblock resource agent
is made available as part of resource-agents-3.9.5* package
on RHEL 6.8 and RHEL 7.3 respectively. This change is to
update the same in the glusterfs spec.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1302545
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1303037
Change-Id: I5917e5f22f07b4121d636b099dd8815847e1338f
BUG: 1389293
Author: Kaleb KEITHLEY <kkeithle@redhat.com>
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-on: http://review.gluster.org/15803
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
-rw-r--r-- | glusterfs.spec.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index bf294ee0ae2..4e834dedd67 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -378,9 +378,9 @@ Requires: pcs, dbus %if ( 0%{?rhel} && 0%{?rhel} == 6 ) Requires: cman, pacemaker, corosync %endif -%if ( 0%{?fedora} ) -# we need portblock resource-agent in 3.9.6 and later. -Requires: resource-agents >= 3.9.6 +%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 5 ) +# we need portblock resource-agent in 3.9.5 and later. +Requires: resource-agents >= 3.9.5 %endif %description ganesha |