$ git clone -n https://src.fedoraproject.org/rpms/ceres-solver.git /var/lib/mock/f33-build-310511-57344/root/chroot_tmpdir/scmroot/ceres-solver Cloning into '/var/lib/mock/f33-build-310511-57344/root/chroot_tmpdir/scmroot/ceres-solver'... $ git reset --hard ec149b266d23cdeed57035e8398b516ebd0d5618 HEAD is now at ec149b2 Use %cmake_build/%cmake_install