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