From 4db62cd26e76e45aba2a5c4f9e899a0d5edf2467 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 18 Nov 2014 14:06:12 -0500 Subject: [PATCH] Audit2allow will check for mislabeled files, and tells user to fix the label. - Also checks for basefiles and suggests creating a different label. - Patch from Ryan Hallisey --- policycoreutils.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index ff072b5..e75863c 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -51,10 +51,10 @@ to switch roles. %setup -q -a 1 %patch -p1 -b .rhat %patch1 -p2 -b .setfiles -%patch2 -p2 -b .audit2allow - cp %{SOURCE3} gui/ tar xvf %{SOURCE4} +cd sepolgen-%{sepolgenver} +%patch2 -p2 -b .audit2allow %build make LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" SEMODULE_PATH="/usr/sbin" all