From 9c260e349e3970dbd15ff3c91b75d3d86b67d148716ee6b14e0dd36c1a71794b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 20 Dec 2020 15:42:25 +0000 Subject: [PATCH] Accepting request 857098 from home:jayvdb:branches:devel:languages:python - Allow use with chardet v4 c.f. https://build.opensuse.org/request/show/857097 OBS-URL: https://build.opensuse.org/request/show/857098 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=58 --- python-aiohttp.changes | 5 +++++ python-aiohttp.spec | 4 ++++ 2 files changed, 9 insertions(+) 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