$ git clone -n https://gitee.com/deng-erwei/gcc-python-plugin.git /var/lib/mock/dist-an8.6-build-92641-45363/root/chroot_tmpdir/scmroot/gcc-python-plugin Cloning into '/var/lib/mock/dist-an8.6-build-92641-45363/root/chroot_tmpdir/scmroot/gcc-python-plugin'... $ git reset --hard 22576c12e1d95a7ac8fe986d74169a7e99982b7d HEAD is now at 22576c1 Simplify the spec file to build only on Python3