From 2d010ad2112a587dbfab583d70235545ecf6d47d Mon Sep 17 00:00:00 2001 From: HuaxinLuGitee <1539327763@qq.com> Date: Fri, 6 Nov 2020 19:23:54 +0800 Subject: [PATCH] create autorelabel file after install --- selinux-policy.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 96a8a8d..51ae559 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 3.14.2 -Release: 58 +Release: 59 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -388,6 +388,8 @@ SELINUXTYPE=targeted else . %{_sysconfdir}/selinux/config fi + +touch /.autorelabel exit 0 %postun @@ -729,6 +731,9 @@ exit 0 %endif %changelog +* Fri Nov 6 2020 openEuler Buildteam - 3.14.2-59 +- create autorelabel file after install + * Wed Sep 2 2020 openEuler Buildteam - 3.14.2-58 - fix spec changelog