From 316fce3ded1d82d1bcc616c137bf3b8ccd307410480df59de8c062d122ea9fd8 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Mon, 10 Nov 2025 09:53:41 +0100 Subject: [PATCH] Make it work in 15.6 --- python-pytest-pycodestyle.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-pytest-pycodestyle.spec b/python-pytest-pycodestyle.spec index 2f034e9..3ddab4a 100644 --- a/python-pytest-pycodestyle.spec +++ b/python-pytest-pycodestyle.spec @@ -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