#1027961 lintian: should warn about missing ${ruby:Depends} when dh_ruby is in use

#1027961#5
Date:
2023-01-05 08:01:47 UTC
From:
To:
Hi,

dh_ruby (the ruby packaging helper) defines a ruby:Depends substition
variable based on the content of the package's gemspec file.
dpkg-gencontrol issues a warning when it is not used in debian/control:

dpkg-gencontrol: warning: package ruby-specinfra: substitution variable ${ruby:Depends} unused, but is defined

but it would be great if lintian also issued a warning.

Example of affected package: ruby-specinfra/2.83.4-2 (fixed in 2.83.4-3)

Lucas