$ git clone -n https://gitee.com/src-anolis-os/nftables.git /var/lib/mock/dist-an23-build-python3.11-366846-71309/root/chroot_tmpdir/scmroot/nftables Cloning into '/var/lib/mock/dist-an23-build-python3.11-366846-71309/root/chroot_tmpdir/scmroot/nftables'... $ git reset --hard origin/a23 HEAD is now at 071b5a0 Refactor the specfile and also fix build error with setuptools