!19 Bootstrap for Python 3.10

Merge pull request !19 from 桐小哥/master
This commit is contained in:
openeuler-ci-bot 2021-12-17 07:04:52 +00:00 committed by Gitee
commit 879a87e4df

View File

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