# change version here %global rel_ver 1 %global patch_ver 0 %global major_ver 6 %global minor_ver 6 %global next_snapshot_date 20231010 %global target_config defconfig %global kname opi5 Version: %{major_ver}.%{minor_ver}.%{patch_ver} 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 Patch1: patch-0001-opi5-docs.patch Patch2: patch-0002-opi5-sfc-node.patch Patch3: patch-0003-opi5-device-tree.patch %global src_dir linux-next-next-%{next_snapshot_date} %include %{SOURCE1}