Let the dist-git branches diverge; drop the spec-file conditionals
This commit is contained in:
parent
3aaf2e8c69
commit
4ffbd06502
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user