The section you linked says “See the following section to learn about %py_provides.”

That following section, https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Automatic-unversioned-provides, describes when and how to use %py_provides. It explains how the vast majority of Python packages fall into the “Python package foobar is packaged as RPM package python3-foobar” category, are now covered by the automatic generator, and don’t need %py_provides at all. It also explains how to use %py_provides in the unusual cases where it is still needed. See https://src.fedoraproject.org/rpms/fontforge/blob/64b0d7999ff838866241b6109b430b5ddb28ee47/f/fontforge.spec#_43 for a real-world example of that.

On 10/10/21 09:26, Sérgio Basto wrote:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides_for_importable_modules


the example doesn't provides %py_provides macro

also I don't find mentions how replacing of %python_provide
%py_provides

Thank you

_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to