Move provides and requires of AlmaLinux to core package

This commit is contained in:
Andrew Lukoshko 2023-11-07 19:15:22 +00:00
parent 37b057dec8
commit 70d2925acb

View File

@ -643,10 +643,6 @@ Requires: kernel-modules-core-uname-r = %{KVERREL}
Provides: installonlypkg(kernel)
%endif
Provides: almalinux(kernel-sig-key) = 202303
Conflicts: shim-ia32 <= 15.6-1.el9.alma
Conflicts: shim-x64 <= 15.6-1.el9.alma
#
# List the packages used during the kernel build
#
@ -1473,6 +1469,11 @@ Provides: installonlypkg(kernel)\
Requires: kernel-core-uname-r = %{KVERREL}%{uname_variant %{?1:%{1}}}\
Requires: kernel-%{?1:%{1}-}-modules-core-uname-r = %{KVERREL}%{uname_variant %{?1:%{1}}}\
%endif\
%if "%{?1}" == ""\
Provides: almalinux(kernel-sig-key) = 202303\
Conflicts: shim-ia32 <= 15.6-1.el9.alma\
Conflicts: shim-x64 <= 15.6-1.el9.alma\
%endif\
%{expand:%%kernel_reqprovconf %{?1:%{1}} %{-o:%{-o}}}\
%if %{?1:1} %{!?1:0} \
%{expand:%%kernel_meta_package %{?1:%{1}}}\