$ git clone -n https://src.fedoraproject.org/rpms/python-pyscf.git /var/lib/mock/f41-build-813301-148564/root/chroot_tmpdir/scmroot/python-pyscf Cloning into '/var/lib/mock/f41-build-813301-148564/root/chroot_tmpdir/scmroot/python-pyscf'... $ git fetch origin dc8720ad45f89c1d09c0b42896ca14dcc9ee4507:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-pyscf * [new ref] dc8720ad45f89c1d09c0b42896ca14dcc9ee4507 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc8720a Patch to load the new library where needed