improve versioning

This commit is contained in:
Pratham Patel 2023-11-09 13:22:15 +05:30
parent d2fac7ecc6
commit 7a30f66ee0
No known key found for this signature in database

View File

@ -24,7 +24,12 @@
%global _binary_payload w3T.xzdio
# Define the version of the Linux Kernel Archive tarball.
%global LKAver 6.6.1
%global major_ver 6
%global minor_ver 6
%global patch_ver 1
%global release_v 0
%global LKAver %{major_ver}.%{minor_ver}.%{patch_ver}
# Define the buildid, if required.
#global buildid .local
@ -38,7 +43,7 @@
%endif
# Set pkg_release.
%global pkg_release 1%{?buildid}%{?dist}
%global pkg_release %{release_v}%{?buildid}%{?dist}
# Architectures upon which we can sign the kernel
# for secure boot authentication.