diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 964080e..cec50cf 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -346,10 +346,6 @@ Requires: rt-setup %endif %endif -Provides: almalinux(kernel-sig-key) = 202303 -Conflicts: shim-ia32 <= 15.6-1.el8.alma -Conflicts: shim-x64 <= 15.6-1.el8.alma - # # List the packages used during the kernel build # @@ -977,6 +973,11 @@ Summary: %{variant_summary}\ Group: System Environment/Kernel\ Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\ Provides: installonlypkg(kernel)\ +%if "%{?1}" == ""\ +Provides: almalinux(kernel-sig-key) = 202303\ +Conflicts: shim-ia32 <= 15.6-1.el8.alma\ +Conflicts: shim-x64 <= 15.6-1.el8.alma\ +%endif\ %{expand:%%kernel_reqprovconf}\ %if %{?1:1} %{!?1:0} \ %{expand:%%kernel_meta_package %{?1:%{1}}}\