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