PDL rdeps should use dh_pdl (via the dh-sequence-pdl build dependency) to set
the appropriate dependencies in ${pdl:Depends} like how dh_perl sets them in
${perl:Depends}.
This is required for Architecture: any packages as they depend on the PDL ABI
they were built with.
Examples:
https://salsa.debian.org/perl-team/modules/packages/libpdl-netcdf-perl/-/blob/master/debian/control?ref_type=heads#L7
https://salsa.debian.org/perl-team/modules/packages/libpdl-netcdf-perl/-/blob/master/debian/control?ref_type=heads#L20
https://salsa.debian.org/perl-team/modules/packages/libpdl-io-dicom-perl/-/blob/debian/latest/debian/control?ref_type=heads#L7
https://salsa.debian.org/perl-team/modules/packages/libpdl-io-dicom-perl/-/blob/debian/latest/debian/control?ref_type=heads#L17
Arch:any packages get the versioned dependency and API specific dependency:
$ apt-cache show libpdl-netcdf-perl | grep Depends
Depends: pdl (>= 1:2.106-1+b1), pdlapi-20, perl (>= 5.44.0-3), perlapi-5.44.0, libc6
(>= 2.4), libnetcdf22 (>= 4.0.1)
Arch:all packages get less restrictive dependencies:
$ apt-cache show libpdl-io-dicom-perl | grep Depends
Depends: pdl, perl:any
Kind Regards,
Bas
--
PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1