On 14. 06. 21 7:57, Zbigniew Jędrzejewski-Szmek wrote:
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.
That is the plan. Currently python3-devel already has: Requires: (python-rpm-macros if rpm-build) Requires: (python3-rpm-macros if rpm-build) Requires: (python3-rpm-generators if rpm-build)
We would just add another one like that.