[selinux-policy/f20] Fix removal of policy.kern file

Daniel J Walsh dwalsh at fedoraproject.org
Wed Sep 11 17:18:23 UTC 2013


commit 82ab0e0d7e71badd7d6417f5eed3c5af4efd4da2
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Sep 11 13:18:09 2013 -0400

    Fix removal of policy.kern file

 selinux-policy.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 0dc688e..0ba97a3 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -189,7 +189,7 @@ mv %{buildroot}/%{_sysconfdir}/selinux/%1/modules/active/modules/sandbox.pp %{bu
 /usr/sbin/semodule -s %1 -n -B -p %{buildroot}; \
 /usr/bin/sha512sum %{buildroot}%{_sysconfdir}/selinux/%1/policy/policy.%{POLICYVER} | cut -d' ' -f 1 > %{buildroot}%{_sysconfdir}/selinux/%1/.policy.sha512; \
 rm -rf %{buildroot}%{_sysconfdir}/selinux/%1/contexts/netfilter_contexts  \
-rm -f %{buildroot}/%{_sysconfigdir}/selinux/%1/modules/active/policy.kern
+rm -rf %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/policy.kern \
 %nil
 
 %define fileList() \


More information about the scm-commits mailing list