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