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
This commit is contained in:
Petr Viktorin 2021-07-15 10:58:21 +02:00
parent f4a64b51fd
commit c3420255b1

View File

@ -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 <pviktori@redhat.com> - 3.9.6-2
- Provide python3-turtle from python3-tkinter
- Require pyproject-rpm-macros from python3-devel
* Tue Jun 29 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.9.6-1
- Update to 3.9.6