# change version here %global rel_ver 12 %global major_ver 6 %global minor_ver 1 %global patch_ver 56 %global target_config defconfig %global kname lts Version: %{major_ver}.%{minor_ver}.%{patch_ver} Release: %{rel_ver}%{?dist} BuildRequires: gnupg2 Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz Source1: master.inc Source99: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.sign %global src_dir linux-%{version} %include %{SOURCE1}