$ git clone -n https://src.fedoraproject.org/rpms/libifp.git /var/lib/mock/f40-build-752631-116814/root/chroot_tmpdir/scmroot/libifp Cloning into '/var/lib/mock/f40-build-752631-116814/root/chroot_tmpdir/scmroot/libifp'... $ git fetch origin f3ecc42db06b6f306291e6b68ef9f9e7563713bd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libifp * [new ref] f3ecc42db06b6f306291e6b68ef9f9e7563713bd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f3ecc42 Rework specfile to follow the latest packaging guidelines; Fixes: RHBZ#2229155