%global rel_ver 3 %global major_ver 6 %global minor_ver 6 %global next_snapshot_date 20231027 %global kname next Version: %{major_ver}.%{minor_ver}.0 Release: %{next_snapshot_date}.%{rel_ver}%{?dist} Source0: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/snapshot/linux-next-next-%{next_snapshot_date}.tar.gz Source1: master.inc %global src_dir linux-next-next-%{next_snapshot_date} %include %{SOURCE1}