From 54ef9bd8ddf3686f7b0f821978a2448d389b3502 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 15 Jul 2021 10:58:21 +0200 Subject: [PATCH] Require pyproject-rpm-macros from python3-devel Part of the new Python packaging guidelines change: - https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x - https://bugzilla.redhat.com/show_bug.cgi?id=1977883 --- python3.9.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python3.9.spec b/python3.9.spec index 6d2756e..74aba3e 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -563,6 +563,7 @@ Requires: %{pkgname}-libs%{?_isa} = %{version}-%{release} # But we want them when packages BuildRequire python3-devel Requires: (python-rpm-macros if rpm-build) Requires: (python3-rpm-macros if rpm-build) +Requires: (pyproject-rpm-macros if rpm-build) %if %{without bootstrap} # This is not "API" (packages that need setuptools should still BuildRequire it) @@ -1784,6 +1785,7 @@ CheckPython optimized %changelog * Fri Jul 16 2021 Petr Viktorin - 3.9.6-2 - Provide python3-turtle from python3-tkinter +- Require pyproject-rpm-macros from python3-devel * Tue Jun 29 2021 Tomas Hrnciar - 3.9.6-1 - Update to 3.9.6