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