From 78de36930d648c528118c64b9893e5a48c2eef39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 19:07:52 +0200 Subject: [PATCH] The Python name provides generator no longer uses %python_provide internally --- python3.9.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python3.9.spec b/python3.9.spec index 671a69e..99e73e2 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -153,9 +153,9 @@ License: Python %undefine py_auto_byte_compile # When a main_python build is attempted despite the %%__default_python3_pkgversion value -# We undefine %%python_provide so the python3-... package does not provide wrong python3X-... +# We undefine magic macros so the python3-... package does not provide wrong python3X-... %if %{with main_python} && ("%{?__default_python3_pkgversion}" != "%{pybasever}") -%undefine python_provide +%undefine __pythonname_provides %{warn:Doing a main_python build with wrong %%__default_python3_pkgversion (0%{?__default_python3_pkgversion}, but this is %pyshortver)} %endif