$ git clone -n https://src.fedoraproject.org/rpms/gap-pkg-nautytracesinterface.git /var/lib/mock/f38-build-side-42-init-devel-907757-28633/root/chroot_tmpdir/scmroot/gap-pkg-nautytracesinterface Cloning into '/var/lib/mock/f38-build-side-42-init-devel-907757-28633/root/chroot_tmpdir/scmroot/gap-pkg-nautytracesinterface'... $ git fetch origin becf229c69465fa638158db64562024c4e92aa10:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gap-pkg-nautytracesinterface * [new ref] becf229c69465fa638158db64562024c4e92aa10 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at becf229 Use the %gap_arches macro.