[lintian] 01/01: checks/fields: drop check for debug packages not being priority extra
This is an automated email from the git hooks/post-receive script.
geissert pushed a commit to branch master
in repository lintian.
commit d3f8b1b82640b8ab49e9195a0da4cb017b1ad275
Author: Raphael Geissert <geissert@debian.org>
Date: Mon Aug 7 11:04:05 2017 -0400
checks/fields: drop check for debug packages not being priority extra
---
checks/fields.desc | 7 -------
checks/fields.pm | 5 -----
debian/changelog | 1 +
t/tests/fields-debug-bad/desc | 1 -
t/tests/fields-debug-bad/tags | 1 -
t/tests/legacy-libbaz/tags | 1 -
6 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/checks/fields.desc b/checks/fields.desc
index 21ec4c7..d5b87e6 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -956,13 +956,6 @@ Certainty: possible
Info: This package has a name suggesting that it belongs to a section
other than the one it is currently categorized in.
-Tag: debug-package-should-be-priority-extra
-Severity: normal
-Certainty: certain
-Info: This package has a name suggesting that it contains detached
- debugging symbols. If so, it should have priority "extra" since users
- normally do not need such packages.
-
Tag: maintainer-also-in-uploaders
Severity: minor
Certainty: certain
diff --git a/checks/fields.pm b/checks/fields.pm
index ea5ad85..cb91491 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -586,11 +586,6 @@ sub run {
tag 'unknown-priority', $priority
unless $KNOWN_PRIOS->known($priority);
-
- if ($pkg =~ /-dbg$/) {
- tag 'debug-package-should-be-priority-extra', $pkg
- unless $priority eq 'extra';
- }
}
#---- Standards-Version
diff --git a/debian/changelog b/debian/changelog
index f693b81..682d98e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ lintian (2.5.53) UNRELEASED; urgency=medium
* checks/fields.pm:
+ [CL] Ensure that python3-foo packages have "Section: python", not
just python2-foo. (Closes: #870272)
+ + [RG] Do no longer require debug packages to be priority extra.
* checks/python.{pm,desc}:
+ [CL] Split out Python checks from "scripts" check to a new, source
check of type "source".
diff --git a/t/tests/fields-debug-bad/desc b/t/tests/fields-debug-bad/desc
index 4545ab4..f2632fb 100644
--- a/t/tests/fields-debug-bad/desc
+++ b/t/tests/fields-debug-bad/desc
@@ -3,4 +3,3 @@ Version: 1.0
Description: Test for tags related to debug pkgs
Test-For:
dbg-package-missing-depends
- debug-package-should-be-priority-extra
diff --git a/t/tests/fields-debug-bad/tags b/t/tests/fields-debug-bad/tags
index 6662a03..6007dbc 100644
--- a/t/tests/fields-debug-bad/tags
+++ b/t/tests/fields-debug-bad/tags
@@ -1,6 +1,5 @@
I: fields-debug-bad source: duplicate-long-description fields-debug-bad-dbg fields-debug-bad-debug
I: fields-debug-bad source: duplicate-short-description fields-debug-bad-dbg fields-debug-bad-debug
W: fields-debug-bad source: dbg-package-missing-depends fields-debug-bad-dbg
-W: fields-debug-bad-dbg: debug-package-should-be-priority-extra fields-debug-bad-dbg
W: fields-debug-bad-debug: wrong-section-according-to-package-name fields-debug-bad-debug
X: fields-debug-bad source: debian-control-has-obsolete-dbg-package fields-debug-bad-dbg
diff --git a/t/tests/legacy-libbaz/tags b/t/tests/legacy-libbaz/tags
index b9abed6..3775df0 100644
--- a/t/tests/legacy-libbaz/tags
+++ b/t/tests/legacy-libbaz/tags
@@ -69,7 +69,6 @@ W: libbaz1: unused-shlib-entry-in-control-file libdoesntexist2 1.0
W: libbaz1: unused-shlib-entry-in-control-file udeb: libdoesntexist2 1.0
W: libbaz1: unused-shlib-entry-in-symbols-control-file libbaz 2
W: libbaz1: zero-byte-file-in-doc-directory usr/share/doc/README.Debian
-W: libbaz2-dbg: debug-package-should-be-priority-extra libbaz2-dbg
W: libbaz2-dbg: wrong-section-according-to-package-name libbaz2-dbg => debug
W: libbaz2-dev: new-package-should-close-itp-bug
W: libbaz2-dev: wrong-section-according-to-package-name libbaz2-dev => libdevel
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: