diff --git a/python-setuptools.spec b/python-setuptools.spec index 3e962d5f526039ab530493c8b3e7ab42d669fdaa..12a137e7a4c4f2eb5a26f74609a3070387bc0755 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -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 - 59.4.0-3 +- Provide pythonXdist(setuptools) when bootstrapping + * Wed Dec 01 2021 shixuantong - 59.4.0-2 - Bootstrap for Python 3.10