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