[lintian] 01/01: Also check xfonts-foo for font-package-not-multi-arch-foreign.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 396ec6085e9e715343500c9905b34eb9173f7cad
Author: Chris Lamb <lamby@debian.org>
Date: Tue Jan 23 14:54:29 2018 +1100
Also check xfonts-foo for font-package-not-multi-arch-foreign.
---
checks/fields.pm | 2 +-
debian/changelog | 2 ++
t/tests/fields-wrong-section/debian/debian/control.in | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index 976f6fb..cf341c9 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -357,7 +357,7 @@ sub run {
}
if ($type eq 'binary'){
- if ($pkg =~ /^fonts-/) {
+ if ($pkg =~ /^x?fonts-/) {
tag 'font-package-not-multi-arch-foreign'
unless $info->field('multi-arch', 'no')
=~ m/^(?:foreign|allowed)$/o;
diff --git a/debian/changelog b/debian/changelog
index 9355142..0274543 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ lintian (2.5.72) UNRELEASED; urgency=medium
+ [CL] Warn about packages that use about dh_systemd_enable or
dh_systemd_start overrides whilst using debhelper compat level 11 as
they are no longer being called. (Closes: #887899)
+ * checks/fields.pm:
+ + [CL] Also check xfonts-foo for font-package-not-multi-arch-foreign.
* checks/patch-systems.{desc,pm}:
+ [CL] Ignore files called "README" or "README.patches" when checking
packages for patch-file-present-but-not-mentioned-in-series.
diff --git a/t/tests/fields-wrong-section/debian/debian/control.in b/t/tests/fields-wrong-section/debian/debian/control.in
index e745d90..dc8fa8b 100644
--- a/t/tests/fields-wrong-section/debian/debian/control.in
+++ b/t/tests/fields-wrong-section/debian/debian/control.in
@@ -244,6 +244,7 @@ Description: {$description} (fonts)
Package: xfonts-{$source}1
Architecture: all
Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Multi-Arch: foreign
Description: {$description} (xfonts)
Test for xfonts modules.
.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: