Update BuildRequires to respect %{python3_pkgversion}
This spec file is sometimes merged into "alternate Python stacks" in RHELs and it uses %{python3_pkgversion} everywhere else. Let's be consistent. [skip changelog]
This commit is contained in:
parent
6fe5e182cc
commit
ff9f64c2e6
@ -20,8 +20,8 @@ BuildRequires: git-core
|
|||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
%endif
|
%endif
|
||||||
# Manually listed test dependencies from tox.ini, to avoid pulling tox into RHEL
|
# Manually listed test dependencies from tox.ini, to avoid pulling tox into RHEL
|
||||||
BuildRequires: python3dist(pytest)
|
BuildRequires: python%{python3_pkgversion}dist(pytest)
|
||||||
BuildRequires: python3dist(setuptools) >= 45
|
BuildRequires: python%{python3_pkgversion}dist(setuptools) >= 45
|
||||||
# virtualenv omitted, see https://github.com/pypa/setuptools_scm/pull/940
|
# virtualenv omitted, see https://github.com/pypa/setuptools_scm/pull/940
|
||||||
# rich omitted, pulled in only with the [rich] extra
|
# rich omitted, pulled in only with the [rich] extra
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user