From 861a7a4e00dd7c1285ec293a5f5a055e336d34b5 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Fri, 29 Apr 2022 10:23:42 +0000 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.10.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python3.10.spec b/python3.10.spec index 666fb3d..bfc7f82 100644 --- a/python3.10.spec +++ b/python3.10.spec @@ -492,8 +492,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)