$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-pq.git /var/lib/mock/f42-build-862844-171171/root/chroot_tmpdir/scmroot/php-pecl-pq Cloning into '/var/lib/mock/f42-build-862844-171171/root/chroot_tmpdir/scmroot/php-pecl-pq'... $ git reset --hard 7ace9f2afc40a52789366e593326aae55cd3f981 HEAD is now at 7ace9f2 modernize the spec file