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