Author: supercyper
Update of /cvs/free/rpms/xtables-addons-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18043
Modified Files:
xtables-addons-kmod.spec
Log Message:
Index: xtables-addons-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/xtables-addons-kmod/devel/xtables-addons-kmod.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xtables-addons-kmod.spec 28 Jun 2010 07:42:08 -0000 1.1
+++ xtables-addons-kmod.spec 28 Jun 2010 08:13:28 -0000 1.2
@@ -41,7 +41,7 @@
%setup -q -c -T -a 0
for kernel_version in %{?kernel_versions} ; do
cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}
- if [ -e /lib/modules/${kernel_version%%___*}/kernel/net/*/xt_TEE.ko ]; then
+ if grep -q 'XT_TARGET_TEE=m' %{ _usrsrc}/${kernel_version%%___*}/.config; then
pushd _kmod_build_${kernel_version%%___*}
sed -i 's/build_TEE=m/build_TEE=/' mconfig
popd