From ff6e0ec3a6867f7915afd39efc5747d96ef70adc Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 27 Apr 2022 10:57:29 +0200 Subject: [PATCH] Do not Recommend python*-pip if this is not the main_python Because we do not ship pip for alternative stacks (outside of `venv`). --- python3.11.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python3.11.spec b/python3.11.spec index 57f7653..fabb803 100644 --- a/python3.11.spec +++ b/python3.11.spec @@ -474,8 +474,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 # tox users are likely to need the devel subpackage Supplements: tox