From f6bc7569228b55eb3b37cd137bc9d5f31a7c419c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 9 Feb 2024 14:21:33 +0100 Subject: [PATCH] Try to fix selinux --- cepces.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cepces.spec b/cepces.spec index 3c3fc96..c8457c4 100644 --- a/cepces.spec +++ b/cepces.spec @@ -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