diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index 0839ef6..b27b5a5 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -100,7 +100,7 @@ Requires: openSUSE-release Name: nfs-ganesha Version: 2.6.2 -Release: 4%{?dev:%{dev}}%{?dist} +Release: 5%{?dev:%{dev}}%{?dist} Summary: NFS-Ganesha is a NFS Server running in user space Group: Applications/System License: LGPLv3+ @@ -134,10 +134,15 @@ BuildRequires: libntirpc-devel = 1.6.2 %else Requires: libntirpc = @NTIRPC_VERSION_EMBED@ %endif +%if 0%{?rhel} && 0%{?rhel} <= 7 +# this should effectively be a no-op, as all Red Hat Enterprise Linux installs should have it +# with selinux. +Requires: policycoreutils-python +%endif %if ( 0%{?fedora} ) # this should effectively be a no-op, as all Fedora installs should have it # with selinux. -Requires: policycoreutils-python +Requires: policycoreutils-python-utils %endif Requires: nfs-utils %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} ) @@ -728,6 +733,9 @@ exit 0 %endif %changelog +* Fri Aug 10 2018 Petr Lautrbach - 2.6.2-5 +- require the correct package with /usr/sbin/semanage + * Tue Jul 17 2018 Kaleb S. KEITHLEY - 2.6.2-4 - disable utils, python