$ git clone -n https://src.fedoraproject.org/rpms/ksnakeduel.git /var/lib/mock/f33-build-137704-42061/root/chroot_tmpdir/scmroot/ksnakeduel Cloning into '/var/lib/mock/f33-build-137704-42061/root/chroot_tmpdir/scmroot/ksnakeduel'... $ git reset --hard 1b12112140132b66e3e922cc9982dca1d20a83d2 HEAD is now at 1b12112 update %%files, use %%make_build