From 0ba31d9fe0478b7b4f9a7d76bcdaf027c88b2f33 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:45:32 +0000 Subject: Always require kernel(-core) --- diff --git a/SPECS/kmod-mlx4.spec b/SPECS/kmod-mlx4.spec index b5f80d8..f4c7708 100644 --- a/SPECS/kmod-mlx4.spec +++ b/SPECS/kmod-mlx4.spec @@ -57,7 +57,7 @@ BuildRequires: kernel-devel = %{kernel_version} Supplements: kernel = %{kernel_version} -Requires: (kernel = %{kernel_version} if kernel) +Requires: kernel-core = %{kernel_version} Provides: kernel-modules = %{kernel_version}.%{_arch} }