Control: tags -1 + patch

On 2019-09-26 14:24 -0600, Adam Conrad wrote:

> Package: libtext-wrapi18n-perl
> Version: 0.06-8
> Severity: normal
>
> The latest version of libtext-wrapi18n-perl is a packaging rewrite to
> use dh(1) (yay!), but seems to lose some magic from the older versions.
>
> Specifically, older versions of debconf deps like libtext-wrapi18n-perl
> had some magic in place to make sure they had perl-base and perlapi deps
> but didn't pull in the full perl package, so that having debconf-i18n at
> a high priority didn't drag all of perl in behind.
>
> If said magic could be rediscovered and restored, that would be lovely.

The magic is "dh_perl -d" which had been used in older versions[1], see
the attached patch.  The same recipe should work for #941233 as well.

Cheers,
       Sven


1. 
https://salsa.debian.org/perl-team/modules/packages/libtext-wrapi18n-perl/blob/64412bf40dad2bae2a9270f7897ef2e383d3a735/debian/rules#L64

From e8d2e94146d8bfe9ae09be7b104479ce068cb1b3 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Thu, 26 Sep 2019 22:39:15 +0200
Subject: [PATCH] debian/rules: Use "dh_perl -d" to avoid a dependency on perl

Closes: #941232
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..e5c8035 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,6 @@

 %:
 	dh $@
+
+override_dh_perl:
+	dh_perl -d
--
2.23.0

Reply via email to