fixed load_policy location

This commit is contained in:
Harald Hoyer 2012-01-26 18:05:23 +01:00
parent 626dd026d1
commit f8bca8aa02

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.1.10
Release: 14%{?dist}
Release: 15%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@ -117,10 +117,8 @@ ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
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/
install -m 755 %{SOURCE9} %{buildroot}%{_sysconfdir}/bash_completion.d/
@ -364,6 +362,9 @@ fi
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
%changelog
* Thu Jan 26 2012 Harald Hoyer <harald@redhat.com> 2.1.10-15
- fixed load_policy location
* Thu Jan 26 2012 Harald Hoyer <harald@redhat.com> 2.1.10-14
- fixed load_policy location