# change version here %global fake_ver 1 %global rel_ver 0 %global commit_id b034abfca55f329be85c37a84768775c60f52885 %global short_commit_id b034abfc Name: kernel-collabora-tfg Version: %{fake_ver}.%{short_commit_id} Release: %{rel_ver}%{?dist} Source0: https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/archive/%{commit_id}.tar.gz Source1: master.inc %global src_dir linux-%{commit_id} %include %{SOURCE1}