Require python3-rpm-generators even when bootstrapping non-main Pythons
This commit is contained in:
parent
7a094a0571
commit
90929e6c2e
@ -310,6 +310,9 @@ BuildRequires: %{python_wheel_pkg_prefix}-wheel-wheel
|
||||
# upgrading the main python3 to a new Python version, this would pull in the
|
||||
# old version instead.
|
||||
BuildRequires: python%{pybasever}
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap} || %{without main_python}
|
||||
# for proper automatic provides
|
||||
BuildRequires: python3-rpm-generators
|
||||
%endif
|
||||
@ -555,7 +558,8 @@ Recommends: %{pkgname}-pip
|
||||
# tox users are likely to need the devel subpackage
|
||||
Supplements: tox
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{without bootstrap} || %{without main_python}
|
||||
# Generators run on the main Python 3 so we cannot require them when bootstrapping it
|
||||
Requires: (python3-rpm-generators if rpm-build)
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user