# change version here %global rel_ver 5 %global major_ver 6 %global minor_ver 5 %global patch_ver 7 %global kname stable 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}