Package: lintian Version: 2.5.52 Severity: wishlist User: guardi...@namespace.hadrons.org Usertags: sectionspace-violations
Hi! Here's an untested update of the packagename to section mapping including several other common patterns. Thanks, Guillem
From cfe345d523ced980fcea149cca7b09d85b2e375c Mon Sep 17 00:00:00 2001 From: Guillem Jover <guil...@debian.org> Date: Sun, 3 Sep 2017 15:42:26 +0200 Subject: [PATCH] data/fields/name_section_mappings: Add more mappings --- data/fields/name_section_mappings | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/data/fields/name_section_mappings b/data/fields/name_section_mappings index 116fa3885..e7d2af9c2 100644 --- a/data/fields/name_section_mappings +++ b/data/fields/name_section_mappings @@ -3,17 +3,34 @@ -docs?$ => doc -dbg(?:sym)?$ => debug ^node- => javascript +^lib(?:apache2|nginx)-mod- => httpd +^lighttpd-mod => httpd +\.(?:framework|tool|app)(?:-common)?$ => gnustep +^gnustep- => gnustep ^(?:python-)?zope => zope ^python3?- => python ^r-(?:cran|bioc|other)- => gnu-r +^(?:cl|elpa)- => lisp +-elisp(?:-.*)$ => lisp ^lib.*-perl$ => perl lib.*-cil(?:-dev)?$ => cli-mono -^lib.*-(?:java|gcj)$ => java -^(?:lib)php- => php +^lib.*-(?:java|gcj|jni)$ => java +^(?:lib)php(?:\d(?:\.\d)?)?- => php +^lib-.*-php$ => php +^haskell- => haskell ^lib(?:hugs|ghc6?)- => haskell ^lib.*-ruby(?:1\.\d)?$ => ruby +^ruby- => ruby ^lib.*-(?:ocaml|camlp4)-dev$ => ocaml ^libjs- => javascript ^gir\d+\.\d+-.*-\d+\.\d+$ => introspection +^(?:x?fonts|ttf)- => fonts +^(?:aspell|hunspell|myspell|mythes)- => localization +^hyphen-[a-z]{2}(?:-[a-z]{2})?$ => localization +^dict-freedict- => localization +^gcompris-sound- => localization +-l10n(?:-.*)?$ => localization +-(dkms|firmware)$ => kernel +^moblin- => embedded # catch remaining should be after specific lib ^lib.*-dev$ => libdevel -- 2.14.1