https://bugzilla.redhat.com/show_bug.cgi?id=2009146



--- Comment #6 from Jakub Kadlčík <[email protected]> ---
> ! %py_provides python3-pkg_resources

The documentation says

> Instead of:
> 
>     Provides: python3-pkg_resources = %{version}-%{release}
>
> Do:
>
>     %py_provides python3-pkg_resources

The `pkg_resources` is just an example package name.

Your package can be used as `import oslo_metrics`, so the macro should
look like this

    %py_provides python3-oslo-metrics

Even better, using a macro

    %py_provides python3-%{pkg_name}

I've read the documentation section a few times now and I find it
somewhat confusing, so my suggestion might be wrong. But unless
anybody disagrees, I would go with that.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2009146
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to