From 443a3d1807efc125658b9de8886230a80a2acfc9 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 30 Nov 2020 18:49:05 +0100 Subject: [PATCH] Add comment about BuildRequiring self --- python3.10.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python3.10.spec b/python3.10.spec index 4001cf6..dc6ea49 100644 --- a/python3.10.spec +++ b/python3.10.spec @@ -225,6 +225,9 @@ BuildRequires: python-pip-wheel %if %{without bootstrap} # for make regen-all and distutils.tests.test_bdist_rpm +# Note that we're not using the %%{pkgname} macro here on purpose, because when +# upgrading the main python3 to a new Python version, this would pull in the +# old version instead. BuildRequires: python%{pybasever} # for proper automatic provides BuildRequires: python3-rpm-generators