$ git clone -n https://src.fedoraproject.org/rpms/golang-github-task.git /var/lib/mock/f41-build-side-1-3081547-38960/root/chroot_tmpdir/scmroot/golang-github-task Cloning into '/var/lib/mock/f41-build-side-1-3081547-38960/root/chroot_tmpdir/scmroot/golang-github-task'... $ git fetch origin 9850447941c00cebbe94072e5ef550b6dadc291f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-task * [new ref] 9850447941c00cebbe94072e5ef550b6dadc291f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9850447 adjust spec to have compiled binary return correct version; close rhbz#2322459