This patch fixes build dependency issue with
kernel-abi-whitelists, which is not required.
Test-Parameters: trivial
Change-Id: I3f8ad51a0ccab5c994d472d62934670b497c1454
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53448
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
KERNEL_LUSTRE_NAMING=false
ENABLE_KERNEL_DEBUG=false
# default not use kabi check.
-USE_KABI=true
+USE_KABI=false
# patchless build
KERNELRPMSBASE=
SPEC_NAME="kernel.spec"
DEVEL_PATH_ARCH_DELIMETER="."
-USE_KABI=true
+USE_KABI=false
# force local definition of %dist into ~/.rpmmacros
# to avoid verbose extended strings like ".el8.centos"
%bcond_with systemd
%bcond_with mofed
%bcond_without mpi
-%bcond_with kabi
+%bcond_without kabi
%bcond_without mlnx
%bcond_with ofed
BuildRequires: %kernel_module_package_buildreqs
# need to provide a /usr/lib/${uname -r)/build dir
BuildRequires: kernel >= 3.10
-%if "%{_vendor}" == "redhat"
-%if %{with kabi}
-BuildRequires: kernel-abi-whitelists
-%endif
-%endif
%endif
%if %{with systemd}