Benjamin Greiner 2021-11-26 18:52:25 +00:00 committed by Git OBS Bridge
parent ca6c237c55
commit 5d0d6859cd

View File

@ -91,9 +91,6 @@ will be enabled:
%prep
%autosetup -p1 -n python-lsp-server-%{version}
# the only relevant changes from https://github.com/python-lsp/python-lsp-server/pull/94
sed -i 's/pylint>=2.5.0,<2.10.0/pylint>=2.5.0/' setup.py
sed -i "s/open(document.path, 'w')/open(document.path, 'w', encoding='utf-8')/" test/plugins/test_pylint_lint.py
%build
%python_build