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

Re: new behaviour of lintian on ocamlrun scripts



On Wed, Jan 09, 2008 at 10:26:06PM +0100, Julien Cristau wrote:
> On Wed, Jan  9, 2008 at 22:20:34 +0100, Ralf Treinen wrote:
> 
> > My package depends on ocaml-base-nox-3.10.0. The lintian check is
> > obviously wrong since it does not allow for a versionend 
> > ocaml-base-nox package. I wonder what the right check would be:
> > 
> > - if I undestand correctly the dependency must be on ocaml-base-nox,
> >   not on ocaml. Or is there is a case in which the ocaml package
> >   can provide the ocamlrun interpreter?
> 
> None that I can think of.

I just see hat ocaml depends on ocaml-base-nox. however we do not
seem to have a versionend ocaml package, so one would still need
a dependency on ocaml-base-nox.N.NN.N to specify the version.

> > - are there any reasons in which it makes sense to depend on
> >   ocaml-base-nox and not on ocaml-base-nox-N.NN.NN for 
> >   packages that use #!/usr/binocamlrun scripts? I cannot think
> >   of one
> > 
> > So, in my opinion the right lintian check would be to check for dependency
> > on a package ocaml-base-nox-(\d\.)+. Or did I miss something?
> > 
> It could be ocaml-base-(\d\.)+ if the program needs graphics stuff.

Right. So, it should be

ocaml-base(-nox)?-(\d\.)+ 

-Ralf.


Reply to: