[Bug 2009146] Review Request: python-oslo-metrics - OpenStack Oslo Metrics library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #6 from Jakub Kadlčík <jkadlcik@xxxxxxxxxx> ---
> ! %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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux