Do not Recommend python*-pip if this is not the main_python
Because we do not ship pip for alternative stacks (outside of `venv`).
This commit is contained in:
parent
294b2649fb
commit
ff6e0ec3a6
@ -474,8 +474,10 @@ Requires: (pyproject-rpm-macros if rpm-build)
|
|||||||
|
|
||||||
%unversioned_obsoletes_of_python3_X_if_main devel
|
%unversioned_obsoletes_of_python3_X_if_main devel
|
||||||
|
|
||||||
|
%if %{with main_python}
|
||||||
# Python developers are very likely to need pip
|
# Python developers are very likely to need pip
|
||||||
Recommends: %{pkgname}-pip
|
Recommends: %{pkgname}-pip
|
||||||
|
%endif
|
||||||
|
|
||||||
# tox users are likely to need the devel subpackage
|
# tox users are likely to need the devel subpackage
|
||||||
Supplements: tox
|
Supplements: tox
|
||||||
|
Loading…
Reference in New Issue
Block a user