[SCM] Debian package checker branch, master, updated. 2.2.14-20-gfa018b6
The following commit has been merged in the master branch:
commit fa018b690edccef69c9adef9b3a04cfbef9824e0
Author: Russ Allbery <rra@debian.org>
Date: Sat Sep 12 19:44:33 2009 -0700
Don't warn about symlinked changelogs for Ubuntu packages
* checks/changelog-file:
+ [RA] Don't warn about a symlinked changelog file if the version
contains ubuntu. Thanks, Benjamin Drung. (Closes: #536434)
diff --git a/checks/changelog-file b/checks/changelog-file
index a9415c9..73f6036 100644
--- a/checks/changelog-file
+++ b/checks/changelog-file
@@ -236,9 +236,11 @@ if ($native_pkg) {
}
# Everything below involves opening and reading the changelog file, so bail
-# with a warning at this point if all we have is a symlink.
+# with a warning at this point if all we have is a symlink. Ubuntu permits
+# such symlinks, so give the package a pass if the version number contains
+# ubuntu.
if (-l 'changelog') {
- tag "debian-changelog-file-is-a-symlink", "";
+ tag 'debian-changelog-file-is-a-symlink' unless $version =~ /ubuntu/;
return 0;
}
diff --git a/debian/changelog b/debian/changelog
index e0c358b..4f8a811 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
lintian (2.2.15) UNRELEASED; urgency=low
+ * checks/changelog-file:
+ + [RA] Don't warn about a symlinked changelog file if the version
+ contains ubuntu. Thanks, Benjamin Drung. (Closes: #536434)
* checks/common_data.pm:
+ [RA] Moved the essential package list to data/fields.
* checks/copyright-file:
--
Debian package checker
Reply to: