create autorelabel file after install

This commit is contained in:
HuaxinLuGitee 2020-11-06 19:23:54 +08:00
parent 8308f0a972
commit 2d010ad211

View File

@ -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 <buildteam@openeuler.org> - 3.14.2-59
- create autorelabel file after install
* Wed Sep 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.14.2-58
- fix spec changelog