$ git clone -n https://src.fedoraproject.org/rpms/pcsxr.git /var/lib/mock/f33-build-293750-55172/root/chroot_tmpdir/scmroot/pcsxr Cloning into '/var/lib/mock/f33-build-293750-55172/root/chroot_tmpdir/scmroot/pcsxr'... $ git reset --hard 0352aac72a3d120fca29caa3755cd8819b82ca6c HEAD is now at 0352aac Use cmake macro