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:
parent
3b43ce4dd8
commit
fa9ab28741
|
@ -216,6 +216,7 @@ This is the meta package of %{?rpm_vendor:%{rpm_vendor} }Linux kernel, the core
|
||||||
%package core
|
%package core
|
||||||
Summary: %{rpm_vendor} Linux Kernel
|
Summary: %{rpm_vendor} Linux Kernel
|
||||||
Provides: installonlypkg(kernel)
|
Provides: installonlypkg(kernel)
|
||||||
|
Provides: kernel = %{version}-%{release}
|
||||||
Provides: kernel-core = %{version}-%{release}
|
Provides: kernel-core = %{version}-%{release}
|
||||||
Provides: kernel-uname-r = %{kernel_unamer}
|
Provides: kernel-uname-r = %{kernel_unamer}
|
||||||
Requires(pre): coreutils
|
Requires(pre): coreutils
|
||||||
|
|
Loading…
Reference in New Issue