!22 添加安装依赖charset-normalizer
Merge pull request !22 from kerongw/master
This commit is contained in:
commit
81afba2bd8
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 2.26.0
|
Version: 2.26.0
|
||||||
Release: 2
|
Release: 3
|
||||||
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/
|
||||||
Source0: https://github.com/psf/requests/archive/refs/tags/v%{version}.tar.gz
|
Source0: https://github.com/psf/requests/archive/refs/tags/v%{version}.tar.gz
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
@ -55,6 +55,7 @@ Requires: python%{python3_pkgversion}-chardet
|
|||||||
Requires: python%{python3_pkgversion}-urllib3
|
Requires: python%{python3_pkgversion}-urllib3
|
||||||
Requires: python%{python3_pkgversion}-idna
|
Requires: python%{python3_pkgversion}-idna
|
||||||
Requires: ca-certificates
|
Requires: ca-certificates
|
||||||
|
Requires: python%{python3_pkgversion}-charset-normalizer
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-requests
|
%description -n python%{python3_pkgversion}-requests
|
||||||
Requests is an ISC Licensed HTTP library, written in Python, for human
|
Requests is an ISC Licensed HTTP library, written in Python, for human
|
||||||
@ -94,6 +95,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
|||||||
%doc HISTORY.md README.md
|
%doc HISTORY.md README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 22 2021 wangkerong <wangkerong@huawei.com> - 2.26.0-3
|
||||||
|
- add python-charset-normalizer requires
|
||||||
|
|
||||||
* Thu Dec 09 2021 wangkerong <wangkerong@huawei.com> - 2.26.0-2
|
* Thu Dec 09 2021 wangkerong <wangkerong@huawei.com> - 2.26.0-2
|
||||||
- provide pythonxdist(requests)
|
- provide pythonxdist(requests)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user