Try to fix selinux
This commit is contained in:
parent
4cda570f75
commit
f6bc756922
@ -7,7 +7,7 @@
|
||||
|
||||
Name: cepces
|
||||
Version: 0.3.8
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Certificate Enrollment through CEP/CES
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
@ -56,9 +56,7 @@ This package provides the Python part for CEP and CES interaction.
|
||||
|
||||
%package certmonger
|
||||
Summary: certmonger integration for %{name}
|
||||
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires(pre): %{name} = %{version}-%{release}
|
||||
Requires: certmonger
|
||||
|
||||
%description certmonger
|
||||
@ -143,10 +141,10 @@ done
|
||||
|
||||
%if %{with selinux}
|
||||
%post selinux
|
||||
semodule -d %{modulename} &> /dev/null || true;
|
||||
for SELINUXVARIANT in %{selinux_variants}; do
|
||||
MODULE_PATH=%{selinux_package_dir}/${SELINUXVARIANT}/%{modulename}.pp.bz2
|
||||
%selinux_modules_install -s %{SELINUXVARIANT} ${MODULE_PATH}
|
||||
%selinux_relabel_post -s %{SELINUXVARIANT}
|
||||
done
|
||||
|
||||
%postun selinux
|
||||
|
Loading…
Reference in New Issue
Block a user