$ git clone -n https://src.fedoraproject.org/rpms/python-elementpath.git /var/lib/mock/f40-build-2595748-62745/root/chroot_tmpdir/scmroot/python-elementpath Cloning into '/var/lib/mock/f40-build-2595748-62745/root/chroot_tmpdir/scmroot/python-elementpath'... $ git fetch origin 2136a36a026f30cd89ca082633e822d261c626f3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/python-elementpath * [new ref] 2136a36a026f30cd89ca082633e822d261c626f3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2136a36 Convert to %autorelease and %autochangelog