$ git clone -n https://src.fedoraproject.org/rpms/coin-or-lemon.git /var/lib/mock/f33-build-331879-58292/root/chroot_tmpdir/scmroot/coin-or-lemon Cloning into '/var/lib/mock/f33-build-331879-58292/root/chroot_tmpdir/scmroot/coin-or-lemon'... $ git reset --hard e1801da9add56739ed1550300901c43a87cb04d9 HEAD is now at e1801da Use a make invocation instead of ctest, which doesn't build tests.