%global rel_ver 3 %global major_ver 6 %global minor_ver 6 %global rc_ver 7 %global kname rc 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}