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/#Automat...,
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/64b0d7999ff838866241b61...
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/#_provid...
>
>
> the example doesn't provides %py_provides macro
>
> also I don't find mentions how replacing of %python_provide
> %py_provides
>
> Thank you
>