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

Re: Today I played with dh-make-perl...

Don Armstrong dijo [Wed, Aug 08, 2007 at 12:34:46AM -0700]:
> > As perl-modules is is essential to dh-make-perl's proper work,
> > shouldn't it be listed as a dependency?
> No. A dependency on perl is sufficient (and correct) as it pulls in
> perl-base and perl-modules itself. [Perl modules must have a versioned
> dependency on one of perl or perl-base; the former is correct in all
> but unusual circumstances.]

Right. But somebody might want to use dh-make-perl to create packages
meant for -say- embedded systems, not depending on having the full
Perl but only base-perl. So, say:

$ dh-make-perl --build --cpan Some::Module --basepkgs perl-base

Of course, if Some::Module depends on a module provided by
perl-modules, apt-file would find and add it as a dependency. 

Humh... Although the generated debian/control still lists
«${perl:Depends}, ${misc:Depends}», which become «perl (>= 5.6.0-16)»,
so I'm not gaining anything by this :-/ So, any pointers, or do you
suggest me to roll back this option at all?


Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

Reply to: