$ git clone -n https://src.fedoraproject.org/rpms/qpid-proton.git /var/lib/mock/f40-build-2080088-49698/root/chroot_tmpdir/scmroot/qpid-proton Cloning into '/var/lib/mock/f40-build-2080088-49698/root/chroot_tmpdir/scmroot/qpid-proton'... $ git fetch origin eaf831a460d894d977d60049963e60bacd1b32ae:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/qpid-proton * [new ref] eaf831a460d894d977d60049963e60bacd1b32ae -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eaf831a Avoid a needles %ifarch tree to determine the wheel platform tag