[lintian] 01/01: c/fields: Skip priority extra->optional tag for auto-dbgsym
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 29a528dfeb74b6fd728be9a7915fb0ee14fe9058
Author: Niels Thykier <niels@thykier.net>
Date: Sun Oct 8 10:12:29 2017 +0000
c/fields: Skip priority extra->optional tag for auto-dbgsym
Breaks the test suite in stable and it is not really actionable for a
maintainer.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/fields.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index cd9790f..549df72 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -578,7 +578,9 @@ sub run {
unfold('priority', \$priority);
if ($priority eq 'extra') {
- tag 'priority-extra-is-replaced-by-priority-optional';
+ tag 'priority-extra-is-replaced-by-priority-optional'
+ if $type eq 'source'
+ or not $info->is_pkg_class('auto-generated');
# Re-map to optional to avoid an additional warning from
# lintian
$priority = 'optional';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: