dist: fix uname version

Currently, uname -r outputs 5.4.241-24-0017.xx, rpm package
is kernel-5.4.241-24.0017.xx, which is not match, fix this
by changing uname outputs to 5.4.241-24.0017.xx.

Signed-off-by: caelli <caelli@tencent.com>
Reviewed-by: yuehongwu <yuehongwu@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
caelli 2024-07-31 14:39:15 +08:00 committed by Jianping Liu
parent 6782d5a027
commit bb0729d7db
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ _gen_kerver_spec() {
%define kernel_relver $KERNEL_RELVER %define kernel_relver $KERNEL_RELVER
%define kernel_variant ${LOCALVERSION:-"%{nil}"} %define kernel_variant ${LOCALVERSION:-"%{nil}"}
%define kernel_unamer_base $KERNEL_UNAMER_BASE %define kernel_unamer_base $KERNEL_UNAMER_BASE
%define kernel_unamer_force ${KERNEL_UNAMER_FORCE:-"%{nil}"} %define kernel_unamer_force $KERNEL_UNAMER_BASE
%define rpm_name $KERNEL_NAME %define rpm_name $KERNEL_NAME
%define rpm_vendor $VENDOR_CAPITALIZED %define rpm_vendor $VENDOR_CAPITALIZED
%define rpm_url $URL %define rpm_url $URL