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:
Tomas Orsava 2022-05-14 08:47:56 +00:00 committed by Miro Hrončok
parent 9aecf247bb
commit 68d2217237
1 changed files with 2 additions and 0 deletions

View File

@ -483,8 +483,10 @@ Requires: (pyproject-rpm-macros if rpm-build)
%unversioned_obsoletes_of_python3_X_if_main devel
%if %{with main_python}
# Python developers are very likely to need pip
Recommends: %{pkgname}-pip
%endif
%if %{without bootstrap}
Requires: (python3-rpm-generators if rpm-build)