rpms/iptables/devel iptables.spec,1.60,1.61

Thomas Woerner (twoerner) fedora-extras-commits at redhat.com
Mon Mar 3 09:35:47 UTC 2008


Author: twoerner

Update of /cvs/pkgs/rpms/iptables/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26725

Modified Files:
	iptables.spec 
Log Message:
- use the kernel headers from the build tree for iptables for now to be able to 
  compile this package, but this makes the package more kernel dependant




Index: iptables.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iptables/devel/iptables.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- iptables.spec	20 Feb 2008 05:58:52 -0000	1.60
+++ iptables.spec	3 Mar 2008 09:35:13 -0000	1.61
@@ -3,7 +3,7 @@
 Name: iptables
 Summary: Tools for managing Linux kernel packet filtering capabilities
 Version: 1.4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
 Source1: iptables.init
 Source2: iptables-config
@@ -15,6 +15,7 @@
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 License: GPLv2
 BuildRequires: libselinux-devel
+BuildRequires: kernel
 Conflicts: kernel < 2.4.20
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -71,7 +72,7 @@
 TOPDIR=`pwd`
 OPT="$RPM_OPT_FLAGS -I$TOPDIR/include -fPIC"
 export KERNEL_DIR=/usr
-export KBUILD_OUTPUT=/usr
+#export KBUILD_OUTPUT=/usr
 export DO_SELINUX=1
 make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} 
 make COPT_FLAGS="$OPT" LIBDIR=/%{_lib} iptables-save iptables-restore
@@ -80,7 +81,7 @@
 %install
 rm -rf %{buildroot}
 export KERNEL_DIR=/usr
-export KBUILD_OUTPUT=/usr
+#export KBUILD_OUTPUT=/usr
 export DO_SELINUX=1
 make install DESTDIR=%{buildroot} BINDIR=/sbin LIBDIR=/%{_lib} MANDIR=%{_mandir}
 %if %{build_devel}
@@ -154,6 +155,10 @@
 %endif
 
 %changelog
+* Mon Mar  3 2008 Thomas Woerner <twoerner at redhat.com> 1.4.0-3
+- use the kernel headers from the build tree for iptables for now to be able to 
+  compile this package, but this makes the package more kernel dependant
+
 * Wed Feb 20 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.4.0-2
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list