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

Bug#536434: [checks/changelog-file] Do not check debian-changelog-file-is-a-symlink for Ubuntu packages



Package: lintian
Version: 2.2.13

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.

Cheers,
Benjamin

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: