# change version here %global rel_ver 1 %global major_ver 6 %global minor_ver 6 %global rc_ver 1 Name: kernel-rc-tfg Version: %{major_ver}.%{minor_ver}.0 Release: rc%{rc_ver}.%{rel_ver}%{?dist} Source0: https://git.kernel.org/torvalds/t/linux-%{major_ver}.%{minor_ver}-rc%{rc_ver}.tar.gz Source1: master.inc %global src_dir linux-%{major_ver}.%{minor_ver}-rc%{rc_ver} %include %{SOURCE1}