diff --git a/python-meson-python.spec b/python-meson-python.spec index 187b0cd..6b9694b 100644 --- a/python-meson-python.spec +++ b/python-meson-python.spec @@ -46,17 +46,6 @@ Summary: %{summary} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters sed -r -i "s/'pytest-cov/# &/" pyproject.toml -%if 0%{?fc37} || 0%{?fc38} -# Cython lower bound is for Python 3.12 support, so it is safe to remove. -sed -r -i "s/('cython)[[:blank:]]*>=.*'/\\1'/" pyproject.toml -%endif -%if 0%{?fc37} -# We must work with what we have. The lower bound was updated from 0.6.1 only -# to fix a Windows bug, anyway, so there should be no reason not to loosen it. -# https://github.com/mesonbuild/meson-python/pull/269 -sed -r -i "s/('pyproject-metadata)[[:blank:]]*>=.*'/\\1'/" pyproject.toml -%endif - %generate_buildrequires %pyproject_buildrequires -w %{?with_tests:-x test}