--- rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec 2020/07/21 16:26:02 1.2 +++ rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec 2020/08/27 15:32:59 1.4 @@ -4,7 +4,7 @@ # queuing that build enable the macro again for subsequent builds; that way # a new akmod package will only get build when a new one is actually needed -%global buildforkernels current +%global buildforkernels akmod #FIXME xtables-kmod doesn't use the appropriate cflags %global debug_package %{nil} @@ -12,7 +12,7 @@ %define name xtables-addons-kmod %define name_src xtables-addons %define version 2.14 -%define release 02 +%define release 03 Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY). Name: %{name} Version: %{version} @@ -72,14 +72,6 @@ done %build for kernel_version in %{?kernel_versions} ; do - if ! grep -q 'XT_TARGET_TEE=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then - echo ' >>>>> sed TEE' - sed -i 's/build_TEE=/build_TEE=m/' _kmod_build_${kernel_version%%___*}/mconfig - fi - if ! grep -q 'XT_TARGET_CHECKSUM=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then - echo ' >>>>> sed CHECKSUM' - sed -i 's/build_CHECKSUM=/build_CHECKSUM=m/' _kmod_build_${kernel_version%%___*}/mconfig - fi export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*} make %{?_smp_mflags} V=1 -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules done