On Fri, Jun 11, 2021 at 03:24:28PM +0200, Petr Viktorin wrote:
I've proposed the new guidelines as a Fedora change: https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x
The Package-x-generic-16.pngpython3-devel package, a mandatory build-time requirement for all packages that use Python, will require Package-x-generic-16.pngpyproject-rpm-macros, helpers designed for the new guidelines.
What about making this conditional:
Requires: (pyproject-rpm-macros if rpm-build)
You can't really *use* the macros without rpmbuild, and one less hard dependency is always good. With the conditional dep, pretty much any real system will get the dep, but it's easier to build a leaner custom containers and such.
Zbyszek