$ git clone -n https://src.fedoraproject.org/rpms/mathex.git /var/lib/mock/f33-build-298036-56067/root/chroot_tmpdir/scmroot/mathex Cloning into '/var/lib/mock/f33-build-298036-56067/root/chroot_tmpdir/scmroot/mathex'... $ git reset --hard 6b4143ce5102bf5267bfd135b3e0c5aca4a77393 HEAD is now at 6b4143c Use %cmake_build/%cmake_install