summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2020-01-22 14:37:04 -0500
committerAmar Tumballi <amar@kadalu.io>2020-01-28 08:53:56 +0000
commit12bea344e4cc4fe2101aa7efb8a97606d69aa80f (patch)
tree16dafd380fc0ced69d6baa1c1bdad697bdc80b89 /glusterfs.spec.in
parent7cac693bba33cbba35a6d0bbe98d8ad5551d2134 (diff)
build: glusterfs-ganesha pkg requires python3-policycoreutils on rhel8
glusterfs-ganesha pkg requires policycoreutils-python-utils on rhel8, not policycoreutils-python Also needs nfs-ganesha-selinux on recent fedora and rhel/centos 8 Change-Id: Ia97b4dabdc098fb76e3f60e8b48ea4191e677136 updates: bz#1193929 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index e6cd363..607fa9b 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -416,6 +416,7 @@ Summary: NFS-Ganesha configuration
Group: Applications/File
Requires: %{name}-server%{?_isa} = %{version}-%{release}
+Requires: nfs-ganesha-selinux >= 2.7.6
Requires: nfs-ganesha-gluster >= 2.7.6
Requires: pcs >= 0.10.0
Requires: resource-agents >= 4.2.0
@@ -431,7 +432,7 @@ Requires: net-tools
%endif
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
-%if ( 0%{?rhel} )
+%if ( 0%{?rhel} && 0%{?rhel} < 8 )
Requires: selinux-policy >= 3.13.1-160
Requires(post): policycoreutils-python
Requires(postun): policycoreutils-python