$ git clone -n https://src.fedoraproject.org/rpms/optipng.git /var/lib/mock/f33-build-378675-61855/root/chroot_tmpdir/scmroot/optipng Cloning into '/var/lib/mock/f33-build-378675-61855/root/chroot_tmpdir/scmroot/optipng'... $ git reset --hard e07d7b597b8f0fdad42a7bfdc70c30e57e8cc6b7 HEAD is now at e07d7b5 Use make macros (PR from tbaeder)