$ git clone -n https://src.fedoraproject.org/rpms/lcms.git /var/lib/mock/f40-build-803168-144196/root/chroot_tmpdir/scmroot/lcms Cloning into '/var/lib/mock/f40-build-803168-144196/root/chroot_tmpdir/scmroot/lcms'... $ git fetch origin ec24b14fed2293e8a04de31dfcd3e514d4ed4327:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/lcms * [new ref] ec24b14fed2293e8a04de31dfcd3e514d4ed4327 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ec24b14 Fixed FTBFS on F40+.