Bug#543781: lintian: diversion-for-unknown-file and manual page sections
- To: submit@bugs.debian.org
- Subject: Bug#543781: lintian: diversion-for-unknown-file and manual page sections
- From: Niko Tyni <ntyni@debian.org>
- Date: Thu, 27 Aug 2009 00:44:53 +0300
- Message-id: <20090826214453.GA28780@minerva.local.invalid>
- Reply-to: Niko Tyni <ntyni@debian.org>, 543781@bugs.debian.org
- In-reply-to: <20090825072521.GA32603@pc1.creditreform.bg>
- References: <E1Mfcg9-00030m-5j@ries.debian.org> <20090820185819.GD18333@minerva.local.invalid> <handler.542673.D542673.125113312318914.notifdone@bugs.debian.org> <20090824211804.GA19403@minerva.local.invalid> <20090825072521.GA32603@pc1.creditreform.bg>
Package: lintian
Version: 2.2.14
Severity: normal
When diverting away an executable and its manpage and replacing them
with a different executable and manpage, lintian shouldn't report
diversion-for-unknown-file merely because the manual page sections differ.
An example is libmodule-corelist-perl, see #474529 and
http://lists.debian.org/debian-perl/2009/08/msg00084.html
Quoting Colin Watson in #474529:
> It's almost always wrong to handle manual pages differently from
> binaries in maintainer scripts - if you divert foo to foo.real, you
> should also divert foo.1.gz to foo.real.1.gz. (Similarly for
> alternatives.)
--
Niko Tyni ntyni@debian.org
Reply to: