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
{{ message }}
Repository navigation
RFE: Add support for generating version range dependencies #94
Currently gem2rpm generates multiple lines if one dependency required which leads to problems.
RPM 4.14 (since F27) will get ability to specify things like BuildRequires: (rubygem(foo) >= 5.1 with rubygem(foo) < 5.3), or even more complicated cases would work as well: BuildRequires: ((rubygem(foo) >= 5.1 with rubygem(foo) < 5.3) or (rubygem(foo_ext) >= 5.1 with rubygem(foo_ext) < 5.3))
Is the "with" operator actually approved? Is it mentioned in guidelines? Support of RPM is one thing and guidelines are another thing (you remember tilde in versions, right?)
Thanks for pointer, I will make sure that it is updated when we will get with richop approved.
Is the "with" operator actually approved? Is it mentioned in guidelines? Support of RPM is one thing and guidelines are another thing (you remember tilde in versions, right?)
No, it's not yet implemented in RPM, but will be very soon. It's not mentioned in guidelines, but https://fedoraproject.org/wiki/Changes/Packaging_Rust_applications_and_libraries explicitly mention this and this change has been already approved by FESCo. And supporting with is only way how we will get rust packaging in Fedora.
At this point I'm waiting for final version of with richop support. Once it is there, I will submit Rust packaging guidelines + some other wiki pages for FPC approval.
P.S. I created this bug just for feature to be implemented, doesn't have to be turned on by default. So once FPC approves it, we could just flip the switch on.
@voxik btw, this functionality already available in F27+ RPM/DNF/etc., so you can already try it locally. I'm still trying to get rel-eng support for it.
Activity
voxik commentedon Jul 31, 2017
Several things:
igor-raits commentedon Jul 31, 2017
Thanks for pointer, I will make sure that it is updated when we will get
withrichop approved.No, it's not yet implemented in RPM, but will be very soon. It's not mentioned in guidelines, but https://fedoraproject.org/wiki/Changes/Packaging_Rust_applications_and_libraries explicitly mention this and this change has been already approved by FESCo. And supporting
withis only way how we will get rust packaging in Fedora.At this point I'm waiting for final version of
withrichop support. Once it is there, I will submit Rust packaging guidelines + some other wiki pages for FPC approval.igor-raits commentedon Jul 31, 2017
P.S. I created this bug just for feature to be implemented, doesn't have to be turned on by default. So once FPC approves it, we could just flip the switch on.
igor-raits commentedon Aug 30, 2017
@voxik btw, this functionality already available in F27+ RPM/DNF/etc., so you can already try it locally. I'm still trying to get rel-eng support for it.
voxik commentedon Jan 7, 2026
Support for this feature was added in #135.