!22 添加安装依赖charset-normalizer

Merge pull request !22 from kerongw/master
This commit is contained in:
openeuler-ci-bot 2021-12-22 03:04:30 +00:00 committed by Gitee
commit 81afba2bd8

View File

@ -2,15 +2,15 @@
Name: python-requests
Version: 2.26.0
Release: 2
Release: 3
Summary: Python HTTP Library
License: ASL 2.0
URL: http://python-requests.org/
Source0: https://github.com/psf/requests/archive/refs/tags/v%{version}.tar.gz
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
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
BuildArch: noarch
@ -55,6 +55,7 @@ Requires: python%{python3_pkgversion}-chardet
Requires: python%{python3_pkgversion}-urllib3
Requires: python%{python3_pkgversion}-idna
Requires: ca-certificates
Requires: python%{python3_pkgversion}-charset-normalizer
%description -n python%{python3_pkgversion}-requests
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
%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
- provide pythonxdist(requests)