git://git.onelab.eu
/
iptables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
99bf107
)
tweaking specfile
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 24 Feb 2009 11:24:42 +0000
(11:24 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 24 Feb 2009 11:24:42 +0000
(11:24 +0000)
iptables.spec
patch
|
blob
|
history
diff --git
a/iptables.spec
b/iptables.spec
index
47da265
..
4fa7523
100644
(file)
--- 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
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
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