From 7317bece9a12e58db36bbf2868ce6c6f1ac0aa45 Mon Sep 17 00:00:00 2001 From: HuaxinLuGitee <1539327763@qq.com> Date: Wed, 2 Sep 2020 09:17:38 +0800 Subject: [PATCH 1/2] fix spec changelog --- selinux-policy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 8732382..96a8a8d 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: 57 +Release: 58 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -729,11 +729,14 @@ exit 0 %endif %changelog +* Wed Sep 2 2020 openEuler Buildteam - 3.14.2-58 +- fix spec changelog + * Mon Aug 31 2020 openEuler Buildteam - 3.14.2-57 - update selinux -* Mon Jul 27 2020 openEuler Buildteam - 3.14.2-56 -- update selinux +* Tue Aug 18 2020 luhuaxin - 3.14.2-56 +- add patch add-avc-for-pam.patch * Mon Jul 20 2020 steven - 3.14.2-55 - add patch Allow-systemd_logind_t-to-read-fixed-dist-device-BZ-.patch -- Gitee 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 2/2] 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 -- Gitee