Fix the conditional tests-related BuildRequires for Python version
python3-devel is not installed, hence the conditional needs to be on python3. It only "worked" with toml because toml was pulled as a transitive dependency.
This commit is contained in:
parent
5ab7319ece
commit
ca3771c78d
@ -61,7 +61,7 @@ BuildRequires: python3dist(setuptools)
|
|||||||
BuildRequires: python3dist(tox-current-env) >= 0.0.6
|
BuildRequires: python3dist(tox-current-env) >= 0.0.6
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3dist(wheel)
|
BuildRequires: python3dist(wheel)
|
||||||
BuildRequires: (python3dist(tomli) if python3-devel < 3.11)
|
BuildRequires: (python3dist(tomli) if python3 < 3.11)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# We build on top of those:
|
# We build on top of those:
|
||||||
|
Loading…
Reference in New Issue
Block a user