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:
parent
6782d5a027
commit
bb0729d7db
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue