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

Re: Bug#579112: debhelper: dh_perl: substitute a dependency on the current perl upstream version



On Fri, 09 Dec 2011 11:57:38 -0400, Joey Hess wrote:

> gregor herrmann wrote:
> > So -V adds "perl (>= 5.14.2-6)", and -S adds "perl (>= 5.14.2), perl
> > (<< 5.14.3~)" at the moment.
> Which seems inconsistent, surely -S should not allow an older perl
> version than -V?

Hm.

Not necessarily IMO; the semantics of -S is "satisfy the request of
$somepackage to run with the current perl _upstream_ version (now
5.14.2)", independent of the Debian revision.
For arch:any packages the lower bound will be overridden anyway, and
for arch:all packages it should be fine this way.

But I agree that it looks illogical, or at least aesthetically
unpleasing.

A different approach might be that the new option only adds the upper
bound ("perl (<< $nextversion~)"); for arch:any the minimum version
is added anyway, and arch:all packages could use -V additionally.
(In this case I'd rather name it -N (next) than -S.)

Does this make more sense?

(Anyone else from the pkg-perl group following along?)


Cheers,
gregor
 
-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Dire Straits: Ride Across The River

Attachment: signature.asc
Description: Digital signature


Reply to: