$ git clone -n https://src.fedoraproject.org/rpms/pngcrush.git /var/lib/mock/f41-build-side-1-3134465-39756/root/chroot_tmpdir/scmroot/pngcrush Cloning into '/var/lib/mock/f41-build-side-1-3134465-39756/root/chroot_tmpdir/scmroot/pngcrush'... $ git fetch origin 5653ec3c66eca2f4e84750cbd8de0f797e949068:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pngcrush * [new ref] 5653ec3c66eca2f4e84750cbd8de0f797e949068 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5653ec3 Don't hardcode gcc