%global major_ver 6 %global minor_ver 6 %global patch_ver 8 %global release_v 001 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}