9ae3f9
From 9176ee8f10c3c33f31d00261995ed27e8680934a Mon Sep 17 00:00:00 2001
9ae3f9
From: Rinku Kothiya <rkothiya@redhat.com>
9ae3f9
Date: Thu, 3 Sep 2020 11:46:38 +0000
9ae3f9
Subject: [PATCH 467/467] build: Added dependency for glusterfs-selinux
9ae3f9
9ae3f9
> Fixes: #1442
9ae3f9
> Upstream-patch: https://review.gluster.org/#/c/glusterfs/+/24876/
9ae3f9
> Change-Id: I7d79bceff329db4d525bc8a77ba7ffe41bf53c97
9ae3f9
> Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
9ae3f9
9ae3f9
BUG: 1460657
9ae3f9
9ae3f9
Change-Id: I7d79bceff329db4d525bc8a77ba7ffe41bf53c97
9ae3f9
Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
9ae3f9
Reviewed-on: https://code.engineering.redhat.com/gerrit/210637
9ae3f9
Tested-by: RHGS Build Bot <nigelb@redhat.com>
9ae3f9
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
9ae3f9
---
9ae3f9
 glusterfs.spec.in | 3 +++
9ae3f9
 1 file changed, 3 insertions(+)
9ae3f9
9ae3f9
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
9ae3f9
index 9def416..ed6bdf3 100644
9ae3f9
--- a/glusterfs.spec.in
9ae3f9
+++ b/glusterfs.spec.in
9ae3f9
@@ -650,6 +650,9 @@ Summary:          Clustered file-system server
9ae3f9
 Requires:         %{name}%{?_isa} = %{version}-%{release}
9ae3f9
 Requires:         %{name}-cli%{?_isa} = %{version}-%{release}
9ae3f9
 Requires:         %{name}-libs%{?_isa} = %{version}-%{release}
9ae3f9
+%if ( 0%{?fedora} && 0%{?fedora} >= 30  || ( 0%{?rhel} && 0%{?rhel} >= 8 ) )
9ae3f9
+Requires:         glusterfs-selinux >= 0.1.0-2
9ae3f9
+%endif
9ae3f9
 # some daemons (like quota) use a fuse-mount, glusterfsd is part of -fuse
9ae3f9
 Requires:         %{name}-fuse%{?_isa} = %{version}-%{release}
9ae3f9
 # self-heal daemon, rebalance, nfs-server etc. are actually clients
9ae3f9
-- 
9ae3f9
1.8.3.1
9ae3f9