provide pythonxdist(requests)
This commit is contained in:
parent
3166cfedf3
commit
7c310ae806
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 2.26.0
|
Version: 2.26.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Python HTTP Library
|
Summary: Python HTTP Library
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://python-requests.org/
|
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
|
Patch6001: backport-requests-2.12.4-tests_nonet.patch
|
||||||
Patch6002: backport-patch-requests-certs.py-to-use-the-system-CA-bundle.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
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -41,6 +41,9 @@ BuildRequires: python%{python3_pkgversion}-chardet
|
|||||||
BuildRequires: python%{python3_pkgversion}-urllib3
|
BuildRequires: python%{python3_pkgversion}-urllib3
|
||||||
BuildRequires: python%{python3_pkgversion}-idna
|
BuildRequires: python%{python3_pkgversion}-idna
|
||||||
|
|
||||||
|
Provides: python%{python3_pkgversion}dist(requests) = %{version}
|
||||||
|
Provides: python%{python3_version}dist(requests) = %{version}
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest-cov
|
BuildRequires: python%{python3_pkgversion}-pytest-cov
|
||||||
@ -91,6 +94,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
|||||||
%doc HISTORY.md README.md
|
%doc HISTORY.md README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 2.26.0-1
|
||||||
- update to 2.26.0
|
- update to 2.26.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user