We have an interesting request for python3-rpm-macros to depend on python3.
See
https://bugzilla.redhat.com/show_bug.cgi?id=1563789
Highlights:
- users who build for Python 3 are told (in the guidelines) to BR python3-devel
(that brings in both python3 and python3-rpm-macros)
- the existence of python3-rpm-macros is left as an implementation detail for ^
- in theory, those macros can be used with other Pythons
(such as pypy3 or python36, that is most likely not done in practice)
Arguments:
- to require: the macros are broken without a python3 interpreter
- to not: the macros should work with any python3 interpreter
Solutions?
- declare direct BR of macros without a python3 interpreter unsupported
- add dependency on python3. unused if used with another interpreter
- add a common virtual provide for all python3 interpreters
or require (python3 or pypy3 or python36...) - very tedious
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok