!46 remove .autorelabel file after install on LTS-NEXT

From: @HuaxinLuGitee
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2020-12-07 09:15:05 +08:00 committed by Gitee
commit 5df93536c6

View File

@ -6,13 +6,13 @@
%define BUILD_MINIMUM 1 %define BUILD_MINIMUM 1
%define BUILD_MLS 1 %define BUILD_MLS 1
%define POLICYVER 32 %define POLICYVER 32
%define POLICYCOREUTILSVER 3.0 %define POLICYCOREUTILSVER 3.1-5
%define CHECKPOLICYVER 3.0 %define CHECKPOLICYVER 3.0
Summary: SELinux policy configuration Summary: SELinux policy configuration
Name: selinux-policy Name: selinux-policy
Version: 3.14.2 Version: 3.14.2
Release: 59 Release: 62
License: GPLv2+ License: GPLv2+
URL: https://github.com/fedora-selinux/selinux-policy/ URL: https://github.com/fedora-selinux/selinux-policy/
@ -388,8 +388,7 @@ SELINUXTYPE=targeted
else else
. %{_sysconfdir}/selinux/config . %{_sysconfdir}/selinux/config
fi fi
rm -f /.autorelabel
touch /.autorelabel
exit 0 exit 0
%postun %postun
@ -731,6 +730,16 @@ exit 0
%endif %endif
%changelog %changelog
* Wed Dec 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-62
- remove .autorelabel file after install
* Tue Dec 1 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-61
- remove autorelabel creating action
- rebuild with policycoreutils-3.1-5
* Tue Nov 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-60
- move autorelabel creating to postun
* Fri Nov 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-59 * Fri Nov 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-59
- create autorelabel file after install - create autorelabel file after install