[dpkg] 82/200: debian: Hardcode a perl:any dependency in the libdpkg-perl package
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:17:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository dpkg.
commit cff8e24ca76451a4a52cea6b05e8a76dcd1f5ecf
Author: Guillem Jover <guillem at debian.org>
Date: Mon Dec 19 01:38:17 2016 +0100
debian: Hardcode a perl:any dependency in the libdpkg-perl package
The perl policy states that lib*-perl packages have to depend on the
perl package. Depending on a perl-modules packages is currently not
possible. And dh_perl will not emit a perl:any dependency for us, so
the current best option is to just hardcode it ourselves.
Reported-by: Sven Joachim <svenjoac at gmx.de>
---
debian/changelog | 5 +++--
debian/control | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2168b33..6ee9b0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ dpkg (1.18.17) UNRELEASED; urgency=medium
- Clarify that dpkg-buildpackage does not run «dpkg-source --before-build»
when using the -T option. Closes: #649531
* Packaging:
- - Do not let dh_perl insert a dependency for libdpkg-perl, because tying
- the modules to a specific interpreter is wrong.
+ - Do not let dh_perl insert a dependency for libdpkg-perl, because it
+ emits perl instead of perl:any. Instead hardcode a perl:any dependency
+ to comply with the perl policy and make the Multi-Arch hinter happy.
[ Updated scripts translations ]
* German (Helge Kreutzmann).
diff --git a/debian/control b/debian/control
index beff9b8..bc53c66 100644
--- a/debian/control
+++ b/debian/control
@@ -124,6 +124,7 @@ Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
+ perl:any,
# Needed for arch tuples.
dpkg (>= 1.18.11),
Recommends:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list