- Fix libselinux to not telinit during installs

This commit is contained in:
Daniel J Walsh 2006-07-11 19:26:08 +00:00
parent aa27b6bf81
commit 1e7c365c44

View File

@ -2,7 +2,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.30.19
Release: 1
Release: 2
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@ -83,7 +83,8 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
[ -x /sbin/telinit ] && /sbin/telinit U
[ -x /sbin/telinit -a -p /dev/initctl -a -f /proc/1/exe -a -d /proc/1/root ] &&
/sbin/telinit u
exit 0
%postun -p /sbin/ldconfig
@ -115,6 +116,9 @@ exit 0
%{_libdir}/python*/site-packages/selinux.py*
%changelog
* Tue Jul 11 2006 Dan Walsh <dwalsh@redhat.com> 1.30.19-2
- Fix libselinux to not telinit during installs
* Tue Jul 4 2006 Dan Walsh <dwalsh@redhat.com> 1.30.19-1
- Upgrade to latest from NSA
* Lindent.