$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-pq.git /var/lib/mock/f42-build-862763-171084/root/chroot_tmpdir/scmroot/php-pecl-pq Cloning into '/var/lib/mock/f42-build-862763-171084/root/chroot_tmpdir/scmroot/php-pecl-pq'... $ git fetch origin 7ace9f2afc40a52789366e593326aae55cd3f981:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-pecl-pq * [new ref] 7ace9f2afc40a52789366e593326aae55cd3f981 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7ace9f2 modernize the spec file