15
0

Accepting request 857099 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/857099
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mbstrdecoder?expand=0&rev=11
This commit is contained in:
2020-12-20 13:50:19 +00:00
committed by Git OBS Bridge
parent f0504c1211
commit 972f973565
2 changed files with 9 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ Python library for multi-byte character string decoding.
# Remove build alias
sed -i '/build =/d' setup.cfg
# Remove chardet v4 block
# Effectively the same as https://github.com/thombashi/mbstrdecoder/pull/4
sed -i 's/,<4.0.0//' setup.py
%build
%python_build