Micah Anderson <mi...@debian.org> writes:

> Lintian is complaining:
>
> E: facter: ruby-script-but-no-ruby-dep ./usr/bin/facter
>
> Although it can clearly be seen in the control file:
>
> Depends: ruby (>= 1.8), net-tools, host | bind9-host, pciutils, 
> libopenssl-ruby1.8, ${misc:Depends}
>
> Perhaps it is saying this because there is a versioned depends on Ruby
> >= 1.8 and it should be listed as ruby1.8, ruby1.9 or just plain ruby
> if there is no version specific criteria? If that is true, then the
> description doesn't clearly indicate that.

There may be a bug, but the way that this is *supposed* to work is that
scripts that explicitly give a Ruby version on the #! line
(/usr/bin/ruby1.8, for instance) have to depend on the ruby1.8 package,
whereas scripts that use #!/usr/bin/ruby have to depend on the ruby
package.  Depending on ruby (>= 1.8) is not correct if you use
#!/usr/bin/ruby1.8, sice ruby 1.9 may not provide that path.

Does that fit what the package is doing?

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to