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