From e42fd9adb9d9781790ace57ff5272550722b8140 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 1 Nov 2023 14:19:11 +0000 Subject: [PATCH] Move provides and requires of AlmaLinux to core package --- SPECS/kernel.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index af98629..35e9a6e 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 # @@ -971,6 +967,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}}}\