forked from pool/python-pytest-pycodestyle
Make it work in 15.6
This commit is contained in:
@@ -48,7 +48,9 @@ pytest plugin to run pycodestyle in python tests
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest_pycodestyle-%{version}
|
||||
|
||||
%if 0%{?suse_version} <= 1500
|
||||
sed -i 's/license = "MIT"/license = { text = "MIT" }/' pyproject.toml
|
||||
%endif
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user