$ git clone -n https://src.fedoraproject.org/rpms/ark.git /var/lib/mock/f33-build-239839-50686/root/chroot_tmpdir/scmroot/ark Cloning into '/var/lib/mock/f33-build-239839-50686/root/chroot_tmpdir/scmroot/ark'... $ git reset --hard be07a3b040760247b52d0b1f83ae2fa56707295c HEAD is now at be07a3b update %%files, use %%make_build