[SCM] Debian package checker branch, master, updated. 2.5.2-73-gd89abb7
The following commit has been merged in the master branch:
commit d89abb7d18da6e5cee0dc54a70f0b4503819c511
Author: Jakub Wilk <jwilk@debian.org>
Date: Wed Aug 31 22:04:11 2011 +0200
Fix a number of broken references in tag descriptions
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/copyright-file.desc b/checks/copyright-file.desc
index be1ea49..e9f472f 100644
--- a/checks/copyright-file.desc
+++ b/checks/copyright-file.desc
@@ -381,7 +381,7 @@ Info: The copyright file refers to a license in
Tag: copyright-refers-to-deprecated-bsd-license-file
Severity: minor
Certainty: certain
-Ref: Policy 12.5
+Ref: policy 12.5
Info: The copyright file refers to
<tt>/usr/share/common-licenses/BSD</tt>. Due to the brevity of this
license, the specificity of this copy to code whose copyright is held by
diff --git a/checks/fields.desc b/checks/fields.desc
index ad6bb5c..ad3a0ae 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -764,7 +764,7 @@ Info: The package seems to conflict with one of its dependencies,
Tag: breaks-without-version
Severity: normal
Certainty: possible
-Ref: policy 7.3, policy 7.4
+Ref: policy 7.3, policy 7.4,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605744
Info: This package declares a Breaks relationship with another package
that has no version number. Normally, Breaks should be used to indicate
diff --git a/checks/files.desc b/checks/files.desc
index f46f5ba..3437e4e 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -759,7 +759,7 @@ Info: The directory /usr/lib/site-python has been deprecated as a
Tag: python-module-in-wrong-location
Severity: normal
Certainty: possible
-Ref: python-policy1.5, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576012
+Ref: python-policy 1.5, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576012
Info: The package installs a Python module or debug information for a Python
module in the wrong location for the given version of Python.
.
diff --git a/checks/po-debconf.desc b/checks/po-debconf.desc
index ac39798..709298d 100644
--- a/checks/po-debconf.desc
+++ b/checks/po-debconf.desc
@@ -14,7 +14,7 @@ Info: This package seems to be using debconf templates, but it does not
gettext-based translation system. If this package uses one other than
po-debconf, please report this as a lintian bug along with how to detect
that system.
-Ref: 3.9.1
+Ref: policy 3.9.1
Tag: stray-translated-debconf-templates
Severity: normal
diff --git a/debian/changelog b/debian/changelog
index 41f0c64..50ba0a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ lintian (2.5.3) UNRELEASED; urgency=low
LANG. (Closes: #637595)
+ [JW] Removed all whitespace lines to avoid confusing some
dctrl parsers (notably grep-dctrl). (Closes: #639928)
+ + [JW] Fix a number of broken references in the tag
+ descriptions. (Closes: #639923)
* checks/{conffile,etcfiles}{,.desc}:
+ [JW] Merged etcfiles into conffile. (Closes: #637590)
* checks/copyright-file{,.desc}:
@@ -118,6 +120,9 @@ lintian (2.5.3) UNRELEASED; urgency=low
+ [JW,NT] Replace use of fail with croak. (Closes: #637741)
* lib/Lintian/Profile.pm:
+ [NT] Reject profiles containing an unknown field.
+ * lib/Lintian/Tag/Info.pm:
+ + [JW] Create links for references pointing to files in html
+ output.
* lib/Lintian/Tag/Override.pm:
+ [NT] New file.
* lib/Lintian/Tags.pm:
diff --git a/lib/Lintian/Tag/Info.pm b/lib/Lintian/Tag/Info.pm
index c8a0a65..e64b357 100644
--- a/lib/Lintian/Tag/Info.pm
+++ b/lib/Lintian/Tag/Info.pm
@@ -246,6 +246,8 @@ sub _format_reference {
$text = qq(the <a href="$url">$ref</a> manual page);
} elsif ($ref =~ m,^(ftp|https?)://,) {
$text = qq(<a href="$ref">$ref</a>);
+ } elsif ($ref =~ m,^/,) {
+ $text = qq(<a href="file://$ref">$ref</a>);
}
push (@refs, $text) if $text;
}
--
Debian package checker
Reply to: