# change version here %global rel_ver 0 %global major_ver 5 %global minor_ver 10 %global patch_ver 160 %global commit_hash 3c0ea83c49a1e4959161c9953f142ac91ea8ddd8 Name: kernel-vendor-opi5-tfg Version: %{major_ver}.%{minor_ver}.%{patch_ver} Release: %{rel_ver}%{?dist} BuildRequires: gnupg2 BuildRequires: uboot-tools Source0: https://github.com/orangepi-xunlong/linux-orangepi/archive/%{commit_hash}.tar.gz Source1: master.inc %global src_dir linux-orangepi-%{commit_hash} %include %{SOURCE1}