From 1b0f2ac365046161ea52d9fc21b8e0194f9e16c8 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 09 2020 13:32:36 +0000 Subject: When building python39 non-flat package, we need python39 packages --- diff --git a/python39.spec b/python39.spec index 69f0754..cad2cff 100644 --- a/python39.spec +++ b/python39.spec @@ -354,8 +354,8 @@ Recommends: %{_bindir}/python # Previously, this was required for our rewheel patch to work. # This is technically no longer needed, but we keep it recommended # for the developer experience. -Recommends: python3-setuptools -Recommends: python3-pip +Recommends: %{pkgname}-setuptools +Recommends: %{pkgname}-pip # This prevents ALL subpackages built from this spec to require # /usr/bin/python3*. Granularity per subpackage is impossible. @@ -461,7 +461,7 @@ Requires: (python3-rpm-macros if rpm-build) # installed when -devel is required. # See https://bugzilla.redhat.com/show_bug.cgi?id=1623914 # See https://fedoraproject.org/wiki/Packaging:Directory_Replacement -Requires: (python3-setuptools if rpm-build) +Requires: (%{pkgname}-setuptools if rpm-build) Requires: (python3-rpm-generators if rpm-build) %endif