[lintian] 01/01: libjs-* packages should be in javascript section instead web section
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 6337bd8b4850576d00b5977faf047326357e41b1
Author: Dylan Aïssi <bob.dybian@gmail.com>
Date: Fri May 26 13:12:04 2017 +0000
libjs-* packages should be in javascript section instead web section
---
checks/fields.pm | 2 +-
debian/changelog | 3 +++
t/tests/fields-wrong-section/tags | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index f44905e..292eae1 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -113,7 +113,7 @@ my @NAME_SECTION_MAPPINGS = (
[qr/^lib.*-(?:ocaml|camlp4)-dev$/ => 'ocaml'],
[qr/^lib.*-dev$/ => 'libdevel'],
[qr/^gir\d+\.\d+-.*-\d+\.\d+$/ => 'introspection'],
- [qr/^libjs-/ => 'web'],
+ [qr/^libjs-/ => 'javascript'],
);
my %VCS_EXTRACT = (
diff --git a/debian/changelog b/debian/changelog
index bfc8792..1cf21c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,9 @@ lintian (2.5.51) UNRELEASED; urgency=medium
+ [NT] Avoid proposing "/git/git/" as a part of the canonical URL for
anonscm.debian.org. Thanks to Andreas Beckmann for spotting the
bug. (Closes: #851215)
+ + [NT] Apply patch from Dylan Aïssi to recommend "javascript" section
+ for libjs packages. Previously, lintian would recommend "web".
+ (Closes: #863386)
* checks/files.pm:
+ [BR] Do not report duplicates for package-installs-apt-preferences
and package-installs-apt-sources. (Closes: #814521).
diff --git a/t/tests/fields-wrong-section/tags b/t/tests/fields-wrong-section/tags
index 03ef134..e6a321c 100644
--- a/t/tests/fields-wrong-section/tags
+++ b/t/tests/fields-wrong-section/tags
@@ -10,7 +10,7 @@ W: libfields-wrong-section-ocaml-dev: wrong-section-according-to-package-name li
W: libfields-wrong-section-perl: wrong-section-according-to-package-name libfields-wrong-section-perl => perl
W: libfields-wrong-section-ruby1.8: wrong-section-according-to-package-name libfields-wrong-section-ruby1.8 => ruby
W: libghc-fields-wrong-section: wrong-section-according-to-package-name libghc-fields-wrong-section => haskell
-W: libjs-fields-wrong-section: wrong-section-according-to-package-name libjs-fields-wrong-section => web
+W: libjs-fields-wrong-section: wrong-section-according-to-package-name libjs-fields-wrong-section => javascript
W: libphp-fields-wrong-section: wrong-section-according-to-package-name libphp-fields-wrong-section => php
W: python-fields-wrong-section: wrong-section-according-to-package-name python-fields-wrong-section => python
W: r-cran-fields-wrong-section: wrong-section-according-to-package-name r-cran-fields-wrong-section => gnu-r
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: