From f8bca8aa0202c060177401e9279a495f640be86b Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 26 Jan 2012 18:05:23 +0100 Subject: [PATCH] fixed load_policy location --- policycoreutils.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 3bbb75b..fea0695 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -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 +rm -f %{buildroot}%{_sbindir}/load_policy +mv %{buildroot}/sbin/load_policy %{buildroot}%{_sbindir}/ %{__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 2.1.10-15 +- fixed load_policy location + * Thu Jan 26 2012 Harald Hoyer 2.1.10-14 - fixed load_policy location