Bootstrap for Python 3.10

This commit is contained in:
shixuantong 2021-12-17 09:56:28 +08:00
parent e082efad13
commit ff6f474631

View File

@ -1,5 +1,3 @@
%global _with_bootstrap 1
%bcond_with bootstrap %bcond_with bootstrap
%bcond_with tests %bcond_with tests
@ -10,7 +8,7 @@
Name: python-setuptools Name: python-setuptools
Version: 59.4.0 Version: 59.4.0
Release: 3 Release: 4
Summary: Easily build and distribute Python packages Summary: Easily build and distribute Python packages
License: MIT and (BSD or ASL 2.0) 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 %package -n python3-setuptools
Summary: Easily build and distribute Python 3 packages Summary: Easily build and distribute Python 3 packages
Conflicts: python-setuptools < %{version}-%{release} Conflicts: python-setuptools < %{version}-%{release}
Provides: python%{python3_pkgversion}dist(setuptools) = %{version}
%if %{with bootstrap} Provides: python%{python3_version}dist(setuptools) = %{version}
Provides: python%{python3_pkgversion}dist(setuptools) = %{version}
Provides: python%{python3_version}dist(setuptools) = %{version}
%endif
%description -n python3-setuptools %description -n python3-setuptools
Setuptools is a collection of enhancements to the Python 3 distutils that allow 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 %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 * Fri Dec 03 2021 shixuantong<shixuantong@huawei.com> - 59.4.0-3
- Provide pythonXdist(setuptools) when bootstrapping - Provide pythonXdist(setuptools) when bootstrapping