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

Re: [Pkg-octave-devel] Versioning the dependency on octave for the OF packages



* Rafael Laboissiere <rafael@laboissiere.net> [2012-03-09 18:18]:

> I am just wondering whether we should add a version number to the
> substitution of ${octave:Depends} that is done by octave-pkg-helper.
> Right now, we are getting "Depends: octave".  Don't we want something
> like "Depends: octave (>= 3.6.0)"?

Ok, I just pushed the commit bed89f7e with a change to octave-pkg-helper
that add a versioned dependency to octave.  It takes the version of
/usr/bin/octave currently installed in the system.  I think that this is
appropriate, since installing octave-pkg-dev will result in the correct
version of octave being pulled.

The reason I think this is necessary is because a unversioned dependency
on octave will cause problems because the pre-3.6 octave package would
satisfy the dependency.  Of course this would not be a problem with OF
packages arch:any, since they depend on liboctave1.

Tell me if you agree with this, please.

Rafael



Reply to: