From: Sapan Bhatia Date: Tue, 24 Feb 2009 11:24:42 +0000 (+0000) Subject: tweaking specfile X-Git-Tag: iptables-1.4.1.1-0~9 X-Git-Url: http://git.onelab.eu/?p=iptables.git;a=commitdiff_plain;h=571f7383310803399cc2d293a8219e6f664e88d0 tweaking specfile --- diff --git a/iptables.spec b/iptables.spec index 47da265..4fa7523 100644 --- a/iptables.spec +++ b/iptables.spec @@ -95,6 +95,7 @@ make COPT_FLAGS="$OPT" KERNEL_DIR=%{KERNEL_DIR} LIBDIR=/%{_lib} iptables-save ip make COPT_FLAGS="$OPT" KERNEL_DIR=%{KERNEL_DIR} LIBDIR=/%{_lib} ip6tables-save ip6tables-restore %install +mkdir -p %{buildroot}/sbin make install DESTDIR=%{buildroot} KERNEL_DIR=%{KERNEL_DIR} BINDIR=/sbin LIBDIR=/%{_lib} MANDIR=%{_mandir} cp ip{6,}tables-{save,restore} $RPM_BUILD_ROOT/sbin cp iptables-*.8 $RPM_BUILD_ROOT%{_mandir}/man8