# change version here %global rel_ver 1 %global next_snapshot_date 20231004 %global target_config defconfig Name: kernel-next-tfg Version: %{next_snapshot_date} Release: %{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}