Re: Get BR: %{py3_dist } working on EPEL7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux