$ git clone -n https://gitee.com/src-anolis-os/python-distro.git /var/lib/mock/dist-an23-build-252827-63493/root/chroot_tmpdir/scmroot/python-distro Cloning into '/var/lib/mock/dist-an23-build-252827-63493/root/chroot_tmpdir/scmroot/python-distro'... $ git reset --hard origin/a23 HEAD is now at 99216df Optimize the spec file