Benjamin Drung <benjamin.dr...@gmail.com> writes: > Ubuntu allows symlinked changelog files. So please do not report > debian-changelog-file-is-a-symlink if the package is an Ubuntu > package. > > I tried to write a patch for it, but Perl does not like me (or the > other way round). The check rule should look like > > if (-l 'changelog' && !($version =~ /$UBUNTU_REGEX/ or $distribution =~ > /$UBUNTU_REGEX/)) { > tag "debian-changelog-file-is-a-symlink", ""; > return 0; > } > > but I don't know how to determine $distribution.
That's the problem: neither does Lintian without having access to the changelog file, which is where the distribution is stated. We can handle this for packages that contain ubuntu in the version number, but I don't see any way for Lintian to know that this is an Ubuntu package if it contains no changelog (and a dangling symlink, which is what we see for such packages, is equivalent to having no changelog) and doesn't have ubuntu in the version number. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org