From 82ab0e0d7e71badd7d6417f5eed3c5af4efd4da2 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Sep 11 2013 17:18:09 +0000 Subject: Fix removal of policy.kern file --- 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() \