diff --git a/iptables.changes b/iptables.changes index 2a6bf26..6ce26f0 100644 --- a/iptables.changes +++ b/iptables.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 13 14:08:25 CET 2007 - prusnak@suse.cz + +- added initial setting of KERNEL_DIR variable in %install section of spec file + ------------------------------------------------------------------- Tue Jan 9 14:52:15 CET 2007 - prusnak@suse.cz diff --git a/iptables.spec b/iptables.spec index 1fbecfb..fcd5fe3 100644 --- a/iptables.spec +++ b/iptables.spec @@ -16,7 +16,7 @@ License: GNU General Public License (GPL) Group: Productivity/Networking/Security Autoreqprov: on Version: 1.3.7 -Release: 4 +Release: 10 Summary: IP Packet Filter Administration Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-%{version}-debian-docs.tar.bz2 @@ -75,6 +75,7 @@ CFLAGS="$RPM_OPT_FLAGS" \ make LD=gcc BINDIR=%{_prefix}/sbin LIBDIR=%{_libdir} MANDIR=%{_mandir} KERNEL_DIR="$KERNEL_DIR" iptables-batch ip6tables-batch %install +[ -z "$KERNEL_DIR" ] && KERNEL_DIR="/usr/src/linux"; CFLAGS="$RPM_OPT_FLAGS" \ make IPT_LIBDIR=%{_libdir}/iptables \ BINDIR=$RPM_BUILD_ROOT%{_prefix}/sbin \ @@ -101,7 +102,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.a %{_prefix}/include/* -%changelog -n iptables +%changelog +* Tue Mar 13 2007 - prusnak@suse.cz +- added initial setting of KERNEL_DIR variable in %%install section of spec file * Tue Jan 09 2007 - prusnak@suse.cz - added experimental tools and extensions (removed by last update) * Wed Jan 03 2007 - prusnak@suse.cz