!17 【openEuler-20.03-LTS-Next】Add selinux-autorelabel-mark.service to systemd_preun and systemd_post

From: @yixiangzhike
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2020-11-03 10:00:17 +08:00 committed by Gitee
commit ecc8423689

View File

@ -3,7 +3,7 @@
Name: policycoreutils Name: policycoreutils
Version: 3.1 Version: 3.1
Release: 1 Release: 2
Summary: Policy core utilities of selinux Summary: Policy core utilities of selinux
License: GPLv2 License: GPLv2
URL: https://github.com/SELinuxProject URL: https://github.com/SELinuxProject
@ -192,10 +192,10 @@ find %{buildroot}%{python2_sitelib} %{buildroot}%{python3_sitelib} %{buildroot}%
%find_lang policycoreutils %find_lang policycoreutils
%post %post
%systemd_post restorecond.service %systemd_post selinux-autorelabel-mark.service restorecond.service
%preun %preun
%systemd_preun restorecond.service %systemd_preun selinux-autorelabel-mark.service restorecond.service
%postun %postun
%systemd_postun_with_restart restorecond.service %systemd_postun_with_restart restorecond.service
@ -303,6 +303,9 @@ find %{buildroot}%{python2_sitelib} %{buildroot}%{python3_sitelib} %{buildroot}%
%{_mandir}/* %{_mandir}/*
%changelog %changelog
* Mon Nov 2 2020 yixiangzhike <zhangxingliang3@huawei.com> - 3.1-2
- add selinux-autorelabel-mark.service to systemd_preun and systemd_post
* Fri Aug 28 2020 wangchen <wangchen137@huawei.com> - 3.1-1 * Fri Aug 28 2020 wangchen <wangchen137@huawei.com> - 3.1-1
- update to 3.1 - update to 3.1