summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRinku Kothiya <rkothiya@redhat.com>2020-08-16 13:07:17 +0000
committerMOHIT AGRAWAL <moagrawa@redhat.com>2020-09-03 11:30:42 +0000
commitb8417a4b4a237f26de2fb885d164ddb7f26a6a26 (patch)
tree4a9e0461ab0819708cc477182336c6eea037f619
parentebc0253269d8a538239dd0b99d42f56ea320b0f0 (diff)
build: Added dependency for glusterfs-selinux
Fixes: #1442 Change-Id: I7d79bceff329db4d525bc8a77ba7ffe41bf53c97 Signed-off-by: Rinku Kothiya <rkothiya@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 cf4ab55..b6d6314 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -706,6 +706,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-cli%{?_isa} = %{version}-%{release}
Requires: libglusterfs0%{?_isa} = %{version}-%{release}
Requires: libgfchangelog0%{?_isa} = %{version}-%{release}
+%if ( 0%{?fedora} && 0%{?fedora} >= 30 || ( 0%{?rhel} && 0%{?rhel} >= 8 ) )
+Requires: glusterfs-selinux >= 0.1.0-2
+%endif
# some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse
Requires: %{name}-fuse%{?_isa} = %{version}-%{release}
# self-heal daemon, rebalance, nfs-server etc. are actually clients