Author: kwizart
Update of /cvs/free/rpms/xtables-addons/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15534/devel
Modified Files:
xtables-addons.spec
Log Message:
Fix update to build without kbuild
Index: xtables-addons.spec
===================================================================
RCS file: /cvs/free/rpms/xtables-addons/devel/xtables-addons.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xtables-addons.spec 21 Nov 2011 16:25:10 -0000 1.4
+++ xtables-addons.spec 22 Nov 2011 10:10:43 -0000 1.5
@@ -13,6 +13,7 @@
Patch0: %{name}-userspace.patch
BuildRequires: iptables-devel >= 1.4.5
BuildRequires: autoconf automake libtool
+BuildRequires: libmnl-devel
Provides: %{name}-kmod-common = %{version}
Requires: %{name}-kmod >= %{version}
Requires(post): chkconfig
@@ -20,8 +21,8 @@
# This is for /sbin/service
Requires(preun): initscripts
Requires(postun): initscripts
-Provides: ipset = 6
-%{?_isa:Provides: ipset%{?_isa} = 6}
+Provides: ipset = 4.4
+%{?_isa:Provides: ipset%{?_isa} = 4.4}
Obsoletes: %{name}-devel < 1.27-1
%description
@@ -34,13 +35,12 @@
%{name}-kmod package.
%prep
-%setup -q
-%patch0 -p1
+%setup -q
%build
./autogen.sh
-%configure -with-xtlibdir=/%{_lib}/xtables
+%configure -with-xtlibdir=/%{_lib}/xtables --without-kbuild
if [ ! -e /%{_lib}/xtables/libxt_CHECKSUM.so ]; then
sed -i 's/build_CHECKSUM=/build_CHECKSUM=m/' mconfig
fi
Show replies by date