On 11/10/20 6:22 PM, Mattia Verga via devel wrote:
> Reading the python packaging guidelines [1] it says that "On releases
> older than Fedora 33 [...] it is necessary to use %py_provides".
>
> So I thought that %py_provides was necessary for EPEL7, but with that
> macro set, the build fails with "Unknown tag: %py_provides
> python3-calcephpy". In EPEL8 I get no errors and the build is completed.
>
> Said that, should I use the old method ("Provides: python3-pkg_resources
> = %{version}-%{release}") in EPEL7? Is it necessary?
>
> Mattia
>
> [1]
>
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_the_py...
>
Hello. CCing the Python and EPEL lists.
You are correct. I can backport the macro to EPEL 7 if it makes your spec files
easier:
https://src.fedoraproject.org/rpms/epel-rpm-macros/pull-request/26