Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Generate PEP 503 compatible (Build)Requires on Fedora (no dots in python3dist) #276

Open
hroncok opened this issue Dec 20, 2021 · 0 comments

Comments

@hroncok
Copy link
Member

hroncok commented Dec 20, 2021

Since Fedora 33, we generate both python3dist(foo.bar) and python3dist(foo-bar) provides, but we'd like to follow PEP 503 and use only the names with dashes.

However, packagers keep adding manual BuildRequires with dots because pyp2rpm generates them. I've just opened 25 pull requests for Fedora to remove that pattern and it would be really great if pyp2rpm could generate the names according to PEP 503 too.

Slightly problematic thing is that EPEL 8 does not support that, so for EPEL 8 spec files, the dot needs to be there.

An alternative that is compatible both with past EPELs and future Fedoras is to use the %py3_dist macro.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant