dist: provide kernel version info in kernel*core*.rpm

Other software, such as anaconda, need kernel*core*.rpm provide kernel
version info.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
This commit is contained in:
Jianping Liu 2024-03-12 16:43:31 +08:00
parent 3154060704
commit 1ed2f4729e
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ This is the meta package of %{?rpm_vendor:%{rpm_vendor} }Linux kernel, the core
%package core
Summary: %{rpm_vendor} Linux Kernel
Provides: installonlypkg(kernel)
Provides: kernel = %{version}-%{release}
Provides: kernel-core = %{version}-%{release}
# TK4-UNAME-R: Due to historical reason we don't want to touch TK4's uname style yet,
# so the uname-r providing below looks different from TKS.