diff --git a/backport-Remove-tests-that-use-the-tarpit.patch b/backport-remove-tests-that-use-the-tarpit.patch similarity index 100% rename from backport-Remove-tests-that-use-the-tarpit.patch rename to backport-remove-tests-that-use-the-tarpit.patch diff --git a/python-requests.spec b/python-requests.spec index 3e643b32c6e3a3d662ce61fea27519552831036a..d817c6a2f1bc3b7bd14971cd3446ac936f8f1ffb 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -2,7 +2,7 @@ Name: python-requests Version: 2.26.0 -Release: 1 +Release: 2 Summary: Python HTTP Library License: ASL 2.0 URL: http://python-requests.org/ @@ -10,7 +10,7 @@ Source0: https://github.com/psf/requests/archive/refs/tags/v%{version}.ta Patch6001: backport-requests-2.12.4-tests_nonet.patch Patch6002: backport-patch-requests-certs.py-to-use-the-system-CA-bundle.patch -Patch6003: backport-Remove-tests-that-use-the-tarpit.patch +Patch6003: backport-remove-tests-that-use-the-tarpit.patch BuildArch: noarch @@ -41,6 +41,9 @@ BuildRequires: python%{python3_pkgversion}-chardet BuildRequires: python%{python3_pkgversion}-urllib3 BuildRequires: python%{python3_pkgversion}-idna +Provides: python%{python3_pkgversion}dist(requests) = %{version} +Provides: python%{python3_version}dist(requests) = %{version} + %if %{with tests} BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest-cov @@ -91,6 +94,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %doc HISTORY.md README.md %changelog +* Thu Dec 09 2021 wangkerong - 2.26.0-2 +- provide pythonxdist(requests) + * Sat Dec 04 2021 wangkerong - 2.26.0-1 - update to 2.26.0