diff --git a/python-aiohttp.changes b/python-aiohttp.changes index e2354f2..53d2cca 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 20 08:22:59 UTC 2020 - John Vandenberg + +- Allow use with chardet v4 + ------------------------------------------------------------------- Fri Dec 4 11:50:52 UTC 2020 - Benjamin Greiner diff --git a/python-aiohttp.spec b/python-aiohttp.spec index c555ab5..64b52c1 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -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