From bf9311b5044f3fb18674b1fdbdc8bdbe79a254d7 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Fri, 3 Dec 2021 10:46:02 +0800 Subject: [PATCH] Provide pythonXdist(setuptools) when bootstrapping --- python-setuptools.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 3e962d5..12a137e 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 -- Gitee