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