Accepting request 857727 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/857727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2020-12-23 13:19:35 +00:00 committed by Git OBS Bridge
commit 6e95183840
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Dec 20 08:22:59 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Allow use with chardet v4
-------------------------------------------------------------------
Fri Dec 4 11:50:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -99,6 +99,10 @@ HTML documentation on the API and examples for %{name}.
# Prevent building with vendor version
rm vendor/http-parser/*.c
# Allow use with chardet v4
# https://github.com/aio-libs/aiohttp/pull/5333
sed -i 's/chardet>=2.0,<4.0/chardet>=2.0/' setup.py
%build
export CFLAGS="%{optflags}"
%python_build