Because tying the modules to a specific interpreter is wrong.
@@ -1,5 +1,10 @@
dpkg (1.18.17) UNRELEASED; urgency=medium
+ [ Guillem Jover ]
+ * Packaging:
+ - Do not let dh_perl insert a dependency for libdpkg-perl, because tying
+ the modules to a specific interpreter is wrong.
+
[ Updated scripts translations ]
* German (Helge Kreutzmann).
@@ -124,7 +124,6 @@ Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
- ${perl:Depends},
# Needed for arch tuples.
dpkg (>= 1.18.11),
Recommends:
@@ -137,7 +137,8 @@ binary-indep: install
dh_installman -i
dh_link -i
dh_lintian -i
- dh_perl -i
+ # The perl modules should not depend on a specific interpreter.
+ dh_perl -i -Nlibdpkg-perl
dh_compress -i
dh_fixperms -i
dh_installdeb -i