- Correct {Build,}Requires for charset_normalizer.

- Add trustme to BuildRequires for the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=155
This commit is contained in:
Steve Kowalik 2021-10-28 06:56:55 +00:00 committed by Git OBS Bridge
parent 6590e207df
commit d746ba43cb
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 28 06:55:31 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Correct {Build,}Requires for charset_normalizer.
- Add trustme to BuildRequires for the test suite.
-------------------------------------------------------------------
Tue Oct 26 21:08:01 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -41,7 +41,7 @@ BuildRequires: python-rpm-macros
Requires: ca-certificates
Requires: python
Requires: python-certifi >= 2017.4.17
Requires: python-charset_normalizer >= 2.0.0
Requires: python-charset-normalizer >= 2.0.0
Requires: python-idna >= 2.5
Requires: python-py
Requires: python-urllib3 >= 1.21.1
@ -60,12 +60,13 @@ Recommends: python-pyOpenSSL >= 0.14
%if %{with test}
BuildRequires: %{python_module PySocks >= 1.5.6}
BuildRequires: %{python_module brotlipy}
BuildRequires: %{python_module charset_normalizer >= 2.0.0}
BuildRequires: %{python_module charset-normalizer >= 2.0.0}
BuildRequires: %{python_module idna >= 2.5}
BuildRequires: %{python_module pytest-httpbin >= 0.0.7}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= %{version}}
BuildRequires: %{python_module trustme}
%endif
%python_subpackages