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