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

[SCM] Debian package checker branch, master, updated. 2.5.10-145-gcde7822



The following commit has been merged in the master branch:
commit 443de2673d390a7ebfabeac186f40c3b901ca670
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Sep 17 11:19:43 2012 +0200

    c/copyright-file: UTF-8 encoding is now a must
    
    Bump severity of debian-copyright-file-uses-obsolete-national-encoding
    and add a reference to Policy §12.5.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/copyright-file.desc b/checks/copyright-file.desc
index 95334fc..3f45227 100644
--- a/checks/copyright-file.desc
+++ b/checks/copyright-file.desc
@@ -223,9 +223,10 @@ Info: There is "url://example.com" in your copyright file. This was most
  upstream sources (if any).
 
 Tag: debian-copyright-file-uses-obsolete-national-encoding
-Severity: normal
+Severity: serious
 Certainty: certain
-Info: The Debian copyright file should be valid UTF-8, an encoding of
+Ref: policy 12.5
+Info: The Debian copyright file must be valid UTF-8, an encoding of
  the Unicode character set.
  .
  There are many ways to convert a copyright file from an obsoleted encoding
diff --git a/debian/changelog b/debian/changelog
index 9310838..9f30792 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ lintian (2.5.11) UNRELEASED; urgency=low
   * checks/conffiles:
     + [NT] Remove leading slash on the filename when emitting
       file-in-etc-rc.d-marked-as-conffile.
+  * checks/copyright.desc:
+    + [NT] Bump debian-copyright-file-uses-obsolete-national-encoding
+      to serious as copyright files must now be UTF-8 encoded.
   * checks/cruft:
     + [NT] Detect MS-DOS executables as windows binaries.
   * checks/deb-format{,.desc}:
diff --git a/t/tests/copyright-file-general/tags b/t/tests/copyright-file-general/tags
index a0b78ad..371eb22 100644
--- a/t/tests/copyright-file-general/tags
+++ b/t/tests/copyright-file-general/tags
@@ -8,6 +8,7 @@ E: copyright-full-gpl-2: copyright-should-refer-to-common-license-file-for-lgpl
 E: copyright-full-gpl: copyright-file-contains-full-gpl-license
 E: copyright-full-gpl: copyright-should-refer-to-common-license-file-for-gpl
 E: copyright-full-lgpl: copyright-should-refer-to-common-license-file-for-lgpl
+E: copyright-iso-8859-1: debian-copyright-file-uses-obsolete-national-encoding at line 3
 E: copyright-misc-errors: copyright-refers-to-compressed-license usr/share/common-licenses/BSD.gz
 E: copyright-misc-errors: copyright-refers-to-incorrect-directory usr/share/common-licences
 E: copyright-misc-errors: copyright-refers-to-old-directory
@@ -21,7 +22,6 @@ E: copyright-poor-common-licenses: copyright-should-refer-to-common-license-file
 E: copyright-symlink: copyright-file-is-symlink
 P: copyright-crln: copyright-has-crs
 W: copyright-full-apache-2: copyright-without-copyright-notice
-W: copyright-iso-8859-1: debian-copyright-file-uses-obsolete-national-encoding at line 3
 W: copyright-misc-errors: copyright-contains-dh-make-perl-boilerplate
 W: copyright-misc-errors: copyright-has-url-from-dh_make-boilerplate
 W: copyright-misc-errors: copyright-refers-to-deprecated-bsd-license-file
diff --git a/testset/tags.binary b/testset/tags.binary
index 887b61e..e2f8d2c 100644
--- a/testset/tags.binary
+++ b/testset/tags.binary
@@ -3,6 +3,7 @@ E: binary source: not-binnmuable-all-depends-any binary-data -> binary
 E: binary source: not-binnmuable-any-depends-all binary -> binary-data
 E: binary: changelog-file-not-compressed changelog
 E: binary: debian-changelog-file-missing-or-wrong-name
+E: binary: debian-copyright-file-uses-obsolete-national-encoding at line 13
 E: binary: debian-news-file-uses-obsolete-national-encoding at line 3
 E: binary: depends-on-metapackage pre-depends: xorg
 E: binary: deprecated-kdelnk-file usr/share/applications/hello.kdelnk
@@ -77,7 +78,6 @@ W: binary: binary-without-manpage usr/bin/iminusrbin
 W: binary: binary-without-manpage usr/bin/static-hello
 W: binary: changelog-news-debian-mismatch distribution unstable != UNRELEASED
 W: binary: changelog-news-debian-mismatch urgency low != high
-W: binary: debian-copyright-file-uses-obsolete-national-encoding at line 13
 W: binary: debian-news-entry-has-strange-distribution UNRELEASED
 W: binary: description-contains-homepage
 W: binary: desktop-command-not-in-package usr/share/applications/goodbye.desktop goodbye

-- 
Debian package checker


Reply to: