fedora-python / fedora-python/pyp2rpm

EPEL7 "Requires:" is sometime wrong

Open
#261 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
129
Forks
42
PR merge metrics
No merged PRs in 30d

Description

A trouble with EPEL7 is the requirement (`Requires:`) syntax.

**pyp2rpm** uses syntax like `python3-`, which is sometimes incorrect. For instance, many packages start with capital letter and EPEL7 downcases them (for instance see at package named `Flask`).

I feel fine with `%{?python_enable_dependency_generator}`, it works well with el8. But it doesn't work with el7 (at least some versions of el7, even with latest rpm macros installed).

`%{?python_enable_dependency_generator}` add requirements in the following form

`python3.6dist(flask)`

which is EPEL7 compatible. Instead, `python3-Flask` or `python3dist(flask)` are not compatible with EPEL7.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.