!18 Provide pythonXdist(setuptools) when bootstrapping

From: @tong_1001
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-12-03 02:58:57 +00:00 committed by Gitee
commit e082efad13

View File

@ -1,3 +1,5 @@
%global _with_bootstrap 1
%bcond_with bootstrap
%bcond_with tests
@ -8,7 +10,7 @@
Name: python-setuptools
Version: 59.4.0
Release: 2
Release: 3
Summary: Easily build and distribute Python packages
License: MIT and (BSD or ASL 2.0)
@ -42,6 +44,11 @@ This package contains a python wheel of setuptools to use with venv.
Summary: Easily build and distribute Python 3 packages
Conflicts: python-setuptools < %{version}-%{release}
%if %{with bootstrap}
Provides: python%{python3_pkgversion}dist(setuptools) = %{version}
Provides: python%{python3_version}dist(setuptools) = %{version}
%endif
%description -n python3-setuptools
Setuptools is a collection of enhancements to the Python 3 distutils that allow
you to more easily build and distribute Python 3 packages, especially ones that
@ -108,6 +115,9 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) py.test-%{python3_version} --ignore=
%changelog
* Fri Dec 03 2021 shixuantong<shixuantong@huawei.com> - 59.4.0-3
- Provide pythonXdist(setuptools) when bootstrapping
* Wed Dec 01 2021 shixuantong<shixuantong@huawei.com> - 59.4.0-2
- Bootstrap for Python 3.10