$ git clone -n https://src.fedoraproject.org/rpms/ocaml-odoc.git /var/lib/mock/f33-build-191396-46429/root/chroot_tmpdir/scmroot/ocaml-odoc Cloning into '/var/lib/mock/f33-build-191396-46429/root/chroot_tmpdir/scmroot/ocaml-odoc'... $ git reset --hard b4fbe520d34ceaface00b8e44d6eab326f44df8d HEAD is now at b4fbe52 Add a fixed patch which only touches the required files.