From 791d78b0263366010036601915bfab98da3668c8133eb0b0e7dd4e4c03cc2cc8 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 15 Mar 2007 00:40:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iptables?expand=0&rev=3 --- iptables.changes | 5 +++++ iptables.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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