From 6a3fa292d8c5c0965412d5578ecc37faec5ef120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 17 Mar 2026 17:19:44 +0100 Subject: [PATCH] %py3_build, %py3_install, etc.: Bump the Fedora version in the deprecation message The macros will keep working in Fedora 44. --- macros.python | 2 +- python-rpm-macros.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macros.python b/macros.python index 4bd0da6..3e2c7bb 100644 --- a/macros.python +++ b/macros.python @@ -33,7 +33,7 @@ if not _python_deprecated_warned then end if not _python_deprecated_warned[opt.n] then _python_deprecated_warned[opt.n] = true - local msg = "The %" .. opt.n .. " macro is deprecated and will likely stop working in Fedora 44. " .. + local msg = "The %" .. opt.n .. " macro is deprecated and will likely stop working in Fedora 45. " .. "See the current Python packaging guidelines: " .. "https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/" macros.warn({msg}) diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index e0f85fc..04b3fc9 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -183,6 +183,7 @@ grep -iF PLACEHOLDER %{buildroot}%{rpmmacrodir}/macros.* && exit 1 || true %changelog * Tue Mar 17 2026 Miro Hrončok - 3.14-12 - %%python_wheel_inject_sbom: Hardcode the purl of this tool instead of constructing it at runtime +- %%py3_build, %%py3_install, etc.: Bump the Fedora version in the deprecation message * Tue Mar 10 2026 Miro Hrončok - 3.14-11 - %%python_wheel_inject_sbom: Add more metadata to the SBOM