[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Unparseable version dependency generated by ${ruby:Depends} - dpkg-gencontrol errors out



Hi,

I have the following in a gemspec:

	s.add_dependency "jekyll-sass-converter", ">= 1.0", "<= 3.0.0", "!= 2.0.0"

Now when using ${ruby:Depends} this generates a dependency like

	ruby-jekyll-sass-converter (!= 2.0.0)

and dpkg-gentrol errors out:

	dpkg-gencontrol: warning: can't parse dependency ruby-jekyll-sass-converter (!= 2.0.0)

I think we need to change that to produce:

	ruby-jekyll-sass-converter (<< 2.0.0) | ruby-jekyll-sass-converter (> 2.0.0)

Regards, Daniel

-- 
Regards,
Daniel Leidert <dleidert@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: