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