[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: c/fields: Assert that -dbgsym pkgs are in debug section



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 5eb67879b1f7013f0a82d646506dcf328f933b27
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Aug 25 18:08:40 2015 +0200

    c/fields: Assert that -dbgsym pkgs are in debug section
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/fields.pm             | 2 +-
 data/fields/archive-sections | 1 -
 debian/changelog             | 7 ++++++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index 7eb8fb1..a555d55 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -96,7 +96,7 @@ our @known_java_pkg = map { qr/$_/ } (
 # Mapping of package names to section names
 my @NAME_SECTION_MAPPINGS = (
     [qr/-docs?$/                      => 'doc'],
-    [qr/-dbg$/                        => 'debug'],
+    [qr/-dbg(?:sym)?$/                => 'debug'],
     [qr/^(?:python-)?zope/            => 'zope'],
     [qr/^python-/                     => 'python'],
     [qr/^r-cran-/                     => 'gnu-r'],
diff --git a/data/fields/archive-sections b/data/fields/archive-sections
index ab75e15..3061d87 100644
--- a/data/fields/archive-sections
+++ b/data/fields/archive-sections
@@ -6,7 +6,6 @@ comm
 cli-mono
 database
 debug
-debugsym
 devel
 doc
 editors
diff --git a/debian/changelog b/debian/changelog
index 3f7a743..b98d9e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,11 +13,16 @@ lintian (2.5.37) UNRELEASED; urgency=medium
   * checks/description.pm:
     + [AB] Fix false positives in
       perl-module-name-not-mentioned-in-description (Closes: #795779)
-  * checks/fields.desc:
+  * checks/fields.{desc,pm}:
     + [JW] Use "an" (instead of "a") before "HTTP".
+    + [NT] Assert that -dbgsym packages are in the "debug" section.
+      Thanks to Jean-Michel Vourgère for reporting the issue.
 
   * data/binaries/embedded-libs:
     + [RG] Add another matching string for libidn
+  * data/fields/archive-sections:
+    + [NT] Remove the "debugsym" section as "ddebs" will be put in
+      the regular "debug" section.
 
   * debian/control:
     + [AB] Update Vcs-Browser header to use https and cgit.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: