fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
123 stars 39 forks source link

RFE: Add support for generating version range dependencies #134

Open ignatenkobrain opened 6 years ago

ignatenkobrain commented 6 years ago

RPM 4.14 (since F27) will get ability to specify things like BuildRequires: (python3.6dist(foo) >= 5.1 with python3.6dist(foo) < 5.3).

Just specifying multiple Requires / BuildRequires just leads to errors.

gordonmessmer commented 4 years ago

pyp2rpm will use that type of dependency to support the ~= operator. Are there other situations where the range would be required?