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

Re: perl versioned Provides in sid again



On Sat, 08 Dec 2018 16:57:19 +0100, gregor herrmann wrote:

> > No immediate action is required from packages affected by this change,
> > but they can now gradually start moving from the current idiom
> >  Depends: perl (>= x) | libfoo-bar-perl (>= y)
> > to just the 'libfoo-bar-perl (>= y)' part. This will need some changes
> > to lintian recommendations as well.
> And a change in libconfig-model-dpkg-perl, and maybe also in
> dh-make-perl.

Dominique has started to make the necessary changes in
libconfig-model-dpkg-perl today (merci !) in the
"rm-perl-dual-dependencies" branch.

I've now built and installed a package from this branch and tested it
with ~2 dozens of packages, and it looks really good. I haven't found
anything unexpected for the typical cases.

The only minor glitch I found is that it doesn't do anything when there
are 3 alternative (build) dependencies, e.g.
  libtest-simple-perl (>= 1.001010) | libtest-use-ok-perl | perl (>= 5.21.6)
  perl (>= 5.21.6) | libtest-simple-perl (>= 1.001010) | libtest-tester-perl (>= 0.108)
  perl (>= 5.15.6) | libsocket-perl | libsocket6-perl
  perl (>= 5.19.8) | libio-socket-ip-perl (>= 0.20) | libio-socket-inet6-perl
These are rare enough that I can live with them as well …

Thanks dod!

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Dire Straits: Tunnel Of Love

Attachment: signature.asc
Description: Digital Signature


Reply to: