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_provides_macro

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org

Reply via email to