fixed load_policy location
This commit is contained in:
parent
05b05a3209
commit
626dd026d1
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.10
|
Version: 2.1.10
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# Based on git repository with tag 20101221
|
# Based on git repository with tag 20101221
|
||||||
@ -115,6 +115,13 @@ rm -f %{buildroot}/usr/sbin/open_init_pty
|
|||||||
|
|
||||||
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
|
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
|
||||||
ln -sf /usr/share/system-config-selinux/polgengui.py %{buildroot}%{_bindir}/selinux-polgengui
|
ln -sf /usr/share/system-config-selinux/polgengui.py %{buildroot}%{_bindir}/selinux-polgengui
|
||||||
|
|
||||||
|
# FIXME
|
||||||
|
if [ -x %{buildroot}/sbin/load_policy ] && [ -L %{buildroot}%{_sbindir}/load_policy ]; then
|
||||||
|
rm -f %{buildroot}%{_sbindir}/load_policy
|
||||||
|
mv %{buildroot}/sbin/load_policy %{buildroot}%{_sbindir}/
|
||||||
|
fi
|
||||||
|
|
||||||
%{__mkdir} -p %{buildroot}%{_sysconfdir}/bash_completion.d/
|
%{__mkdir} -p %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||||
install -m 755 %{SOURCE9} %{buildroot}%{_sysconfdir}/bash_completion.d/
|
install -m 755 %{SOURCE9} %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||||
|
|
||||||
@ -268,7 +275,6 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/setfiles
|
%{_sbindir}/setfiles
|
||||||
%{_sbindir}/load_policy
|
%{_sbindir}/load_policy
|
||||||
%{_sbindir}/genhomedircon
|
%{_sbindir}/genhomedircon
|
||||||
%{_sbindir}/load_policy
|
|
||||||
%{_sbindir}/setsebool
|
%{_sbindir}/setsebool
|
||||||
%{_sbindir}/semodule
|
%{_sbindir}/semodule
|
||||||
%{_sbindir}/sestatus
|
%{_sbindir}/sestatus
|
||||||
@ -358,6 +364,9 @@ fi
|
|||||||
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 26 2012 Harald Hoyer <harald@redhat.com> 2.1.10-14
|
||||||
|
- fixed load_policy location
|
||||||
|
|
||||||
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.1.10-13
|
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.1.10-13
|
||||||
- add filesystem guard
|
- add filesystem guard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user