!16 Drop unnecessary telinit

From: @panxh_purple
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-05-28 16:51:40 +08:00 committed by Gitee
commit 52e630698a

View File

@ -1,6 +1,6 @@
Name: libsepol
Version: 3.1
Release: 3
Release: 4
Summary: SELinux binary policy manipulation library
License: LGPLv2+
URL: https://github.com/SELinuxProject/selinux/wiki/Releases
@ -50,12 +50,9 @@ make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install
%preun
%post
/sbin/ldconfig
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
exit 0
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -77,6 +74,9 @@ exit 0
%{_mandir}/man3/*
%changelog
* Fri May 28 2021 panxiaohe <panxiaohe@huawei.com> - 3.1-4
- Drop unnecessary telinit
* Mon Mar 15 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 3.1-3
- fix heap-use-after-free in cil_yy_switch_to_buffer
fix heap-use-after-free in __class_reset_perm_values()