[DRE-maint] Bug#1000333: gem2deb: ignore or find a way to make <= constraint in gemspec work

Pirate Praveen praveen at onenetbeyond.org
Tue Nov 23 00:51:14 GMT 2021



2021, നവംബർ 22 11:12:36 PM IST, Antonio Terceiro <terceiro at debian.org>ൽ എഴുതി
>Control: tag -1 + wontfix
>
>On Sun, Nov 21, 2021 at 11:51:22PM +0530, Pirate Praveen wrote:
>> Package: gem2deb
>> Version: 1.7
>> Severity: wishlist
>> 
>> should we really honor <= constraint in gemspecs? in ruby-google-fog
>> upstream wants fog-core <= 2.1.0 it will never be satisfied in debian
>> 
>> because 2.1.0-1 >= 2.1.0 and we have 2.1.0-3.1 in archive
>> 
>> we could either ignore or may be detect the current version in the archive
>> (it will require a rebuild if dependency change)
>
>In cases like this, IMO the gemspec needs to be patched to drop such
>dependency. Even if we did ignore it and didn't represent that with a
>corresponding << constraint in debian/control, the dependency check will
>still fail during the build unless the gemspec is patched.

In this specific case the build did not fail, only installation during autopkgtest that failed because of control file.

fog-core version in its gemspec is 2.1.0 and it satisfies.

This is to take care of debian revision only, for new upstream versions, we still have to patch if update needed.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-ruby-extras-maintainers mailing list