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

[SCM] Debian package checker branch, master, updated. 2.5.6-13-gbcb26a0



The following commit has been merged in the master branch:
commit ea8a9d8b1b7ff66fafd53c68491729822bc5c205
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Mar 14 23:58:55 2012 +0100

    files: Remove old tags
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/files b/checks/files
index a668ab7..edb9323 100644
--- a/checks/files
+++ b/checks/files
@@ -317,11 +317,8 @@ foreach my $file (@{$info->sorted_index}) {
 
     # ---------------- /etc
     if ($file =~ m,^etc/,) {
-        if ($file =~ m,^etc/nntpserver, ) {
-            tag 'package-uses-obsolete-file', $file;
-        }
         # ---------------- /etc/cron.daily, etc.
-        elsif ($file =~ m,^etc/cron\.(?:daily|hourly|monthly|weekly|d)/[^\.].*\., ) {
+        if ($file =~ m,^etc/cron\.(?:daily|hourly|monthly|weekly|d)/[^\.].*\., ) {
             tag 'run-parts-cron-filename-contains-full-stop', $file;
         }
         # ---------------- /etc/cron.d
@@ -455,12 +452,6 @@ foreach my $file (@{$info->sorted_index}) {
 
             }
         }
-        # ---------------- /usr/doc
-        elsif ($file =~ m,^usr/doc/\S,) {
-            if ($file =~ m,^usr/doc/examples/\S+, and $index_info->{type} eq 'd') {
-                tag 'old-style-example-dir', $file;
-            }
-        }
 
         #----------------- /usr/X11R6/
         elsif ($file =~ m,^usr/X11R6/, and
diff --git a/checks/files.desc b/checks/files.desc
index 866309f..cb62a01 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -33,14 +33,6 @@ Certainty: certain
 Info: This file is reserved by a specific package.  Please email the
  maintainer of the package in question if you have questions.
 
-Tag: package-uses-obsolete-file
-Severity: normal
-Certainty: certain
-Info: the file, /etc/nntpserver, is no longer recommenced.  As of policy
- revision 2.5.1.0, /etc/news/server is the preferred file to use to specify
- a news server.
-Ref: policy 11.7
-
 Tag: FSSTND-dir-in-usr
 Severity: serious
 Certainty: certain
@@ -219,14 +211,6 @@ Info: The package contains a <i>special</i> file (e.g., a device file).
  script.
 Ref: policy 10.6
 
-Tag: old-style-example-dir
-Severity: important
-Certainty: certain
-Info: The package installs some files into the old
- <tt>/usr/doc/examples</tt> directory.  The new location for examples
- is <tt>/usr/share/doc/<i>pkg</i>/examples</tt>.
-Ref: policy 12.6
-
 Tag: compressed-symlink-with-wrong-ext
 Severity: important
 Certainty: certain
diff --git a/debian/changelog b/debian/changelog
index 43aca19..62e9608 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,10 @@ lintian (2.5.7) UNRELEASED; urgency=low
       - manpage-for-non-x11-binary-in-wrong-directory
       - manpage-for-x11-binary-in-wrong-directory
       - old-app-defaults-directory
+      - old-style-example-dir
       - package-installs-file-to-usr-x11r6-bin
       - package-installs-font-to-usr-x11r6
+      - package-uses-obsolete-file
       - x11-games-should-be-in-usr-games
 
   * checks/files{,.desc}:
diff --git a/t/COVERAGE b/t/COVERAGE
index 8ef2bd7..e0f2e6c 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2012-03-14
-Coverage: 789/955 (82.62%), w. legacy tests: 894/955 (93.61%)
+Coverage: 789/953 (82.79%), w. legacy tests: 894/953 (93.81%)
 
 The following tags are not tested by the test suite:
 
@@ -35,8 +35,6 @@ files config-file-reserved
 files debug-package-should-be-named-dbg
 files nfs-temporary-file-in-package
 files non-standard-file-permissions-for-etc-init.d-script
-files old-style-example-dir
-files package-uses-obsolete-file
 files udeb-contains-documentation-file
 
 init.d duplicate-updaterc.d-calls-in-postinst

-- 
Debian package checker


Reply to: