Author: kwizart
Update of /cvs/free/rpms/xtables-addons/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv1661/F-16
Modified Files:
xtables-addons.spec
Log Message:
Fix build
Index: xtables-addons.spec
===================================================================
RCS file: /cvs/free/rpms/xtables-addons/F-16/xtables-addons.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xtables-addons.spec 24 Jan 2012 20:21:19 -0000 1.6
+++ xtables-addons.spec 24 Jan 2012 22:00:53 -0000 1.7
@@ -19,8 +19,8 @@
# This is for /sbin/service
Requires(preun): initscripts
Requires(postun): initscripts
-Provides: ipset = 6
-%{?_isa:Provides: ipset%{?_isa} = 6}
+Provides: ipset = 6.10
+%{?_isa:Provides: ipset%{?_isa} = 6.10}
Obsoletes: %{name}-devel < 1.27-1
%description
@@ -33,18 +33,19 @@
%{name}-kmod package.
%prep
-%setup -q
-
-
-%build
+%setup -q
./autogen.sh
-%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
if [ ! -e /%{_lib}/xtables/libxt_TEE.so ]; then
sed -i 's/build_TEE=/build_TEE=m/' mconfig
fi
+sed -i 's/build_ipset6=/build_ipset6=m/' mconfig
+
+%build
+%configure --without-kbuild
+
make V=1 %{?_smp_mflags}
%install