From 581085bd4ef3d0ece481544340b30f9c2173abbf Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Mon, 2 Nov 2020 17:48:26 +0800 Subject: [PATCH] add selinux-autorelabel-mark.service to systemd_preun and systemd_post --- policycoreutils.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 1e15590..806cef0 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -3,7 +3,7 @@ Name: policycoreutils Version: 3.1 -Release: 2 +Release: 3 Summary: Policy core utilities of selinux License: GPLv2 URL: https://github.com/SELinuxProject @@ -166,10 +166,10 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ %find_lang policycoreutils %post -%systemd_post restorecond.service +%systemd_post selinux-autorelabel-mark.service restorecond.service %preun -%systemd_preun restorecond.service +%systemd_preun selinux-autorelabel-mark.service restorecond.service %postun %systemd_postun_with_restart restorecond.service @@ -261,6 +261,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ %{_mandir}/* %changelog +* Mon Nov 2 2020 yixiangzhike - 3.1-3 +- add selinux-autorelabel-mark.service to systemd_preun and systemd_post + * Wed Sep 9 2020 Hugel - 3.1-2 - Drop python2-policycoreutils -- Gitee