Require the correct package with /usr/sbin/semanage
/usr/sbin/semanage tool is shipped by policycoreutils-python in Red Hat Enterprise Linux, but it was moved to policycoreutils-python-utils in Fedora
This commit is contained in:
parent
3380c42015
commit
bcd493e99b
@ -100,7 +100,7 @@ Requires: openSUSE-release
|
|||||||
|
|
||||||
Name: nfs-ganesha
|
Name: nfs-ganesha
|
||||||
Version: 2.6.2
|
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
|
Summary: NFS-Ganesha is a NFS Server running in user space
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -134,10 +134,15 @@ BuildRequires: libntirpc-devel = 1.6.2
|
|||||||
%else
|
%else
|
||||||
Requires: libntirpc = @NTIRPC_VERSION_EMBED@
|
Requires: libntirpc = @NTIRPC_VERSION_EMBED@
|
||||||
%endif
|
%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} )
|
%if ( 0%{?fedora} )
|
||||||
# this should effectively be a no-op, as all Fedora installs should have it
|
# this should effectively be a no-op, as all Fedora installs should have it
|
||||||
# with selinux.
|
# with selinux.
|
||||||
Requires: policycoreutils-python
|
Requires: policycoreutils-python-utils
|
||||||
%endif
|
%endif
|
||||||
Requires: nfs-utils
|
Requires: nfs-utils
|
||||||
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} )
|
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} )
|
||||||
@ -728,6 +733,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 10 2018 Petr Lautrbach <plautrba@redhat.com> - 2.6.2-5
|
||||||
|
- require the correct package with /usr/sbin/semanage
|
||||||
|
|
||||||
* Tue Jul 17 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 2.6.2-4
|
* Tue Jul 17 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 2.6.2-4
|
||||||
- disable utils, python
|
- disable utils, python
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user