!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_MLS 1
%define POLICYVER 32
%define POLICYCOREUTILSVER 3.0
%define POLICYCOREUTILSVER 3.1-5
%define CHECKPOLICYVER 3.0
Summary: SELinux policy configuration
Name: selinux-policy
Version: 3.14.2
Release: 59
Release: 62
License: GPLv2+
URL: https://github.com/fedora-selinux/selinux-policy/
@ -388,8 +388,7 @@ SELINUXTYPE=targeted
else
. %{_sysconfdir}/selinux/config
fi
touch /.autorelabel
rm -f /.autorelabel
exit 0
%postun
@ -731,6 +730,16 @@ exit 0
%endif
%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
- create autorelabel file after install