diff --git a/iptables.spec b/iptables.spec index dbbbad4..230ccde 100644 --- a/iptables.spec +++ b/iptables.spec @@ -71,7 +71,7 @@ perl -pi -e "s/^_init\(/__attribute\(\(constructor\)\) nf_ext_init\(/g" extensio %build TOPDIR=`pwd` OPT="$RPM_OPT_FLAGS -I$TOPDIR/include -fPIC" -export KERNEL_DIR=/usr +#export KERNEL_DIR=/usr #export KBUILD_OUTPUT=/usr export DO_SELINUX=1 make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} @@ -80,7 +80,7 @@ make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} ip6tables-save ip6tables-restore %install rm -rf %{buildroot} -export KERNEL_DIR=/usr +#export KERNEL_DIR=/usr #export KBUILD_OUTPUT=/usr export DO_SELINUX=1 make install DESTDIR=%{buildroot} BINDIR=/sbin LIBDIR=/%{_lib} MANDIR=%{_mandir}