[policycoreutils] fixed load_policy location

Harald Hoyer harald at fedoraproject.org
Thu Jan 26 17:05:28 UTC 2012


commit f8bca8aa0202c060177401e9279a495f640be86b
Author: Harald Hoyer <harald at redhat.com>
Date:   Thu Jan 26 18:05:23 2012 +0100

    fixed load_policy location

 policycoreutils.spec |   11 ++++++-----
 1 files 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 <harald at redhat.com> 2.1.10-15
+- fixed load_policy location
+
 * Thu Jan 26 2012 Harald Hoyer <harald at redhat.com> 2.1.10-14
 - fixed load_policy location
 


More information about the scm-commits mailing list