[perl-openssl-defaults] 04/05: Don't generate a dependency on full perl
ntyni at debian.org
ntyni at debian.org
Tue Dec 20 21:53:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository perl-openssl-defaults.
commit 545cce06fe170fe30c2400fcd2a9599734e5e4de
Author: Niko Tyni <ntyni at debian.org>
Date: Tue Dec 20 23:10:23 2016 +0200
Don't generate a dependency on full perl
The dh_perl_openssl command and the perl_openssl.pm module are "plugins"
for debhelper and only ever called by that. Whatever standard library
modules debhelper itself needs is not our business. We just know that
we're fine with the ones perl-base.
This also works around the fact that a dependency on perl would defeat the
(probably overkill) Multi-Arch:same setup of this package. That would need
perl:any instead, which dh_perl will currently only generate for purely
'#!/usr/bin/perl' program packages (we have a .pm module as well.)
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 5c7bccb..3d61405 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,5 +39,10 @@ override_dh_gencontrol: debian/openssl-abiversion
override_dh_auto_build: debian/perl-openssl.make debian/dh_perl_openssl.1
dh_auto_build -- CC=$(CC)
+# we don't use anything outside perl-base for ourself;
+# debhelper may # but that's not our business
+override_dh_perl:
+ dh_perl -d
+
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/perl-openssl-defaults.git
More information about the Pkg-perl-cvs-commits
mailing list