summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S KEITHLEY <kkeithle@redhat.com>2016-03-31 07:15:42 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-04-01 09:53:10 -0700
commitd7001f3606866c1d9bb3cefd2767af56833dd53f (patch)
treeb688dbd33711d6127efc060cb22d729b88ed4c3d
parent2aee1d44f4125eaf33f9090b55b91b7d0965095d (diff)
packaging: gluster-ganesha requires pacemaker, etc., on RHEL6
HA packages in RHEL6 are missing dependencies. (RHEL7 versions do.) Change-Id: I4e80b569ea89f97e8a110aee2f4554175aa0ec8b BUG: 1322801 Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/13870 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Reviewed-by: soumya k <skoduri@redhat.com>
-rw-r--r--glusterfs.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 2283e8e0e7a..2ae9ef1acdb 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -361,6 +361,9 @@ Group: Applications/File
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: nfs-ganesha-gluster, pcs, dbus
+%if ( 0%{?rhel} && 0%{?rhel} == 6 )
+Requires: cman, pacemaker, corosync
+%endif
%description ganesha
GlusterFS is a distributed file-system capable of scaling to several