$ git clone -n https://src.fedoraproject.org/rpms/libssh.git /var/lib/mock/f41-build-825525-154525/root/chroot_tmpdir/scmroot/libssh Cloning into '/var/lib/mock/f41-build-825525-154525/root/chroot_tmpdir/scmroot/libssh'... $ git fetch origin 1e405a954baf1265974db264e7c2fd28fec84525:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libssh * [new ref] 1e405a954baf1265974db264e7c2fd28fec84525 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e405a9 Remove the need for the engine.h Resolves: rhbz#2300915