cead9d
From 37e2d76579abf38031d1cd9769da798fa04b183a Mon Sep 17 00:00:00 2001
cead9d
From: "Kaleb S. KEITHLEY" <kkeithle@redhat.com>
cead9d
Date: Wed, 22 Jan 2020 14:14:33 -0500
cead9d
Subject: [PATCH 353/353] build: glusterfs-ganesha pkg requires
cead9d
 python3-policycoreutils on rhel8
cead9d
cead9d
glusterfs-ganesha pkg requires policycoreutils-python-utils on rhel8,
cead9d
not policycoreutils-python
cead9d
cead9d
also requires nfs-ganesha-selinux on rhel-8 (optional on rhel-7)
cead9d
cead9d
Label: DOWNSTREAM ONLY
cead9d
cead9d
Change-Id: Ia97b4dabdc098fb76e3f60e8b48ea4191e677136
cead9d
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
cead9d
BUG: 1794153
cead9d
Reviewed-on: https://code.engineering.redhat.com/gerrit/190130
cead9d
Tested-by: RHGS Build Bot <nigelb@redhat.com>
cead9d
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
cead9d
---
cead9d
 glusterfs.spec.in | 3 ++-
cead9d
 1 file changed, 2 insertions(+), 1 deletion(-)
cead9d
cead9d
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
cead9d
index e95e539..7c8a751 100644
cead9d
--- a/glusterfs.spec.in
cead9d
+++ b/glusterfs.spec.in
cead9d
@@ -462,6 +462,7 @@ Summary:          NFS-Ganesha configuration
cead9d
 Group:            Applications/File
cead9d
 
cead9d
 Requires:         %{name}-server%{?_isa} = %{version}-%{release}
cead9d
+Requires:         nfs-ganesha-selinux >= 2.7.3
cead9d
 Requires:         nfs-ganesha-gluster >= 2.7.3
cead9d
 Requires:         pcs, dbus
cead9d
 %if ( 0%{?rhel} && 0%{?rhel} == 6 )
cead9d
@@ -475,7 +476,7 @@ Requires:         net-tools
cead9d
 %endif
cead9d
 
cead9d
 %if ( 0%{?fedora} && 0%{?fedora} > 25  || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
cead9d
-%if ( 0%{?rhel} )
cead9d
+%if ( 0%{?rhel} && 0%{?rhel} < 8 )
cead9d
 Requires: selinux-policy >= 3.13.1-160
cead9d
 Requires(post):   policycoreutils-python
cead9d
 Requires(postun): policycoreutils-python
cead9d
-- 
cead9d
1.8.3.1
cead9d