From 7a30f66ee05d6f98e89b130017e13c20f7ae44bf Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 9 Nov 2023 13:22:15 +0530 Subject: [PATCH] improve versioning --- kernel-ml.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel-ml.spec b/kernel-ml.spec index 2971d1d..c3e8938 100644 --- a/kernel-ml.spec +++ b/kernel-ml.spec @@ -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.