X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=iptables.spec;h=55249c9db128ae924a1995948895c13b4368a222;hb=068d083e7f96acd7b79843e99683b6f30a421217;hp=e3819058992e1593f6846a4cbb66e18d6d0dcc7b;hpb=ded9c748f1c8141b7250dee99954ae1eebc4e6d3;p=iptables.git diff --git a/iptables.spec b/iptables.spec index e381905..55249c9 100644 --- a/iptables.spec +++ b/iptables.spec @@ -89,7 +89,8 @@ fi %define KERNEL_DIR "/usr/src/kernels/%{KERNEL}" -./configure +./configure --disable-devel + make COPT_FLAGS="$OPT" KERNEL_DIR=%{KERNEL_DIR} LIBDIR=/%{_lib} make COPT_FLAGS="$OPT" KERNEL_DIR=%{KERNEL_DIR} LIBDIR=/%{_lib} iptables-save iptables-restore make COPT_FLAGS="$OPT" KERNEL_DIR=%{KERNEL_DIR} LIBDIR=/%{_lib} ip6tables-save ip6tables-restore @@ -141,14 +142,11 @@ fi %config %attr(0755,root,root) /etc/rc.d/init.d/iptables %config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config %config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables +/usr/local/sbin/iptables* /sbin/iptables* +/usr/local/bin/iptables* +/usr/local/libexec/xtables/* %{_mandir}/man8/iptables* -%dir /%{_lib}/iptables -/%{_lib}/iptables/libipt* -/sbin/ipset* -%{_mandir}/man8/ipset* -%dir /%{_lib}/ipset -/%{_lib}/ipset/libipset* %files ipv6 %defattr(-,root,root,0755)