On 07. 10. 21 4:43, Orion Poplawski wrote:
Would it be possible to get BuildRequires: %{py3_dist NAME} working on EPEL7?
At first I thought it was sufficient for epel-rpm-macros to require
python3-rpm-macros, but now I think we may need to override the definition of
py3_dist. In fedora it uses %python3_pkgversion, in RHEL7 it uses
%python3_version, and in RHEL8 "python3dist".
But %python3_version requires python to evaluate.
Presumably we're using %python3_version to allow for multiple python versions,
but I think we've given up on that in single spec files.
The use of %python3_version on RHEL7 was an attempted solution.
https://bugzilla.redhat.com/show_bug.cgi?id=1812665
But since it requires Python to evaluate, it didn't work.
https://bugzilla.redhat.com/show_bug.cgi?id=1812665#c11
I've suggested a new bugreport and than I forgot.
Not however that RHEL 7 is unlikely to get this fixed this late in the RHEL 7
lifetime, we would need to override the macro in EPEL.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure