!20 provide pythonXdist(requests)

From: @kerongw
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2021-12-09 11:19:26 +00:00 committed by Gitee
commit 0b02c3efdc
2 changed files with 8 additions and 2 deletions

View File

@ -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 <wangkerong@huawei.com> - 2.26.0-2
- provide pythonxdist(requests)
* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 2.26.0-1
- update to 2.26.0