Move provides and requires of AlmaLinux to core package

This commit is contained in:
Andrew Lukoshko 2023-10-27 13:10:35 +00:00
parent e43c0518a7
commit 4c44b82b48

View File

@ -346,10 +346,6 @@ Requires: rt-setup
%endif %endif
%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 # List the packages used during the kernel build
# #
@ -977,6 +973,11 @@ Summary: %{variant_summary}\
Group: System Environment/Kernel\ Group: System Environment/Kernel\
Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\ Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Provides: installonlypkg(kernel)\ 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}\ %{expand:%%kernel_reqprovconf}\
%if %{?1:1} %{!?1:0} \ %if %{?1:1} %{!?1:0} \
%{expand:%%kernel_meta_package %{?1:%{1}}}\ %{expand:%%kernel_meta_package %{?1:%{1}}}\