[lintian] 05/10: c/desc: Allow debug packages to have no extended description
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 7ff5cf63fff1c8de3414f1b1958212707ee5c38b
Author: Niels Thykier <niels@thykier.net>
Date: Wed May 13 20:10:02 2015 +0200
c/desc: Allow debug packages to have no extended description
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/description.pm | 6 +++++-
debian/changelog | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/checks/description.pm b/checks/description.pm
index e3d5c01..ecfe899 100644
--- a/checks/description.pm
+++ b/checks/description.pm
@@ -193,7 +193,11 @@ sub run {
if ($type ne 'udeb') {
if ($lines == 0) {
- tag 'extended-description-is-empty';
+ # Ignore debug packages with empty "extended" description
+ # "debug symbols for pkg foo" is generally descriptive
+ # enough.
+ tag 'extended-description-is-empty'
+ if not $info->is_pkg_class('debug');
} elsif ($lines <= 2 and not $synopsis =~ /(?:dummy|transition)/i) {
tag 'extended-description-is-probably-too-short'
unless $info->is_pkg_class('any-meta')
diff --git a/debian/changelog b/debian/changelog
index bb56330..afb62ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ lintian (2.5.31) UNRELEASED; urgency=medium
not emitted if "debian/source" was missing. Thanks to
Jean-Michel Nirgal Vourgère for finding this bug.
(Closes: #781235)
+ * checks/description.pm:
+ + [NT] Allow debug packages without an extended description.
* checks/fields.{desc,pm}:
+ [BR] Add reference to build-depends-on-metapackage
(Closes: #767107).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: