$ git clone -n https://src.fedoraproject.org/rpms/osgearth.git /var/lib/mock/f33-build-602877-67240/root/chroot_tmpdir/scmroot/osgearth Cloning into '/var/lib/mock/f33-build-602877-67240/root/chroot_tmpdir/scmroot/osgearth'... $ git reset --hard 2c1d105c15a20744fb7a253fd1dc016fe89da9b3 HEAD is now at 2c1d105 Use %cmake_build/%cmake_install