%global major_ver 6 %global minor_ver 6 %global patch_ver 6 %global release_v 012 Name: kernel-stable %global src_dir linux-%{major_ver}.%{minor_ver}.%{patch_ver} Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{major_ver}.%{minor_ver}.%{patch_ver}.tar.xz Source1: kernel-common.inc %include %{SOURCE1}