$ git clone -n https://src.fedoraproject.org/rpms/skanlite.git /var/lib/mock/f33-build-309258-57238/root/chroot_tmpdir/scmroot/skanlite Cloning into '/var/lib/mock/f33-build-309258-57238/root/chroot_tmpdir/scmroot/skanlite'... $ git reset --hard 7e153a2351a71c7c23b6130f79482d0248a31127 HEAD is now at 7e153a2 Use %cmake_build/%cmake_install