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