You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is that just a matter of replacing the Source0 line in some of the templates, or are there conditions under which %pypi_source wouldn't be correct for some packages on a platform that provides that macro?
It seems like we might want to check the URL extracted in pypi_metadata_extension to see if it ends in tar.gz and provide the macro alone if it matches, and the macro with arguments if it doesn't.
Is that just a matter of replacing the Source0 line in some of the templates
I think so, yes.
Also, we should only do this if it actually matches a pattern. That is not always true for packages with non-canonical names (such as dashes vs. underscores).
See: https://pagure.io/packaging-committee/issue/759#comment-517444
Example:
The text was updated successfully, but these errors were encountered: