properly name kernels

This commit is contained in:
Pratham Patel 2023-10-07 19:47:28 +05:30
parent 029b23c4f6
commit e30e28a30e
No known key found for this signature in database
7 changed files with 10 additions and 9 deletions

View File

@ -5,8 +5,8 @@
%global patch_ver 52
%global lts_flag 1
%global target_config defconfig
%global kname lts
Name: kernel-lts-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
Release: %{rel_ver}%{?dist}
BuildRequires: gnupg2

View File

@ -2,8 +2,8 @@
%global rel_ver 3
%global next_snapshot_date 20231004
%global target_config defconfig
%global kname next
Name: kernel-next-tfg
Version: %{next_snapshot_date}
Release: %{rel_ver}%{?dist}

View File

@ -5,8 +5,8 @@
%global minor_ver 6
%global next_snapshot_date 20231004
%global target_config defconfig
%global kname opi5
Name: kernel-opi5-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
Release: %{next_snapshot_date}.%{rel_ver}%{?dist}

View File

@ -5,8 +5,8 @@
%global patch_ver 160
%global target_config rockchip_defconfig
%global commit_hash 3c0ea83c49a1e4959161c9953f142ac91ea8ddd8
%global kname vendor-opi5
Name: kernel-vendor-opi5-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
Release: %{rel_ver}%{?dist}
BuildRequires: gnupg2

View File

@ -4,8 +4,8 @@
%global minor_ver 6
%global rc_ver 4
%global target_config defconfig
%global kname rc
Name: kernel-rc-tfg
Version: %{major_ver}.%{minor_ver}.0
Release: rc%{rc_ver}.%{rel_ver}%{?dist}

View File

@ -4,8 +4,8 @@
%global minor_ver 5
%global patch_ver 5
%global target_config defconfig
%global kname stable
Name: kernel-stable-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
Release: %{rel_ver}%{?dist}
BuildRequires: gnupg2

View File

@ -5,6 +5,7 @@
# also disable packaging files in '/usr/lib/.build-id/'
%define _build_id_links none
Name: kernel-%{kname}-tfg
Summary: The Linux Kernel
License: GPL
URL: https://www.kernel.org
@ -38,8 +39,8 @@ The Linux Kernel, the operating system core itself
%package headers
Summary: Header files for the Linux kernel for use by glibc
Obsoletes: kernel-headers-tfg
Provides: kernel-headers-tfg = %{KVERREL}
Obsoletes: kernel-%{kname}-headers-tfg
Provides: kernel-%{kname}-headers-tfg = %{KVERREL}
%description headers
Kernel-headers includes the C header files that specify the interface
between the Linux kernel and userspace libraries and programs. The
@ -49,7 +50,7 @@ glibc package
%package devel
Summary: Development package for building kernel modules to match the kernel
Provides: kernel-devel-tfg = %{KVERREL}
Provides: kernel-%{kname}-devel-tfg = %{KVERREL}
AutoReqProv: no
%description devel
This package provides kernel headers and makefiles sufficient to build modules