Hi,

Andreas Metzler wrote:
> On 2020-11-04 Felix Lechner <[email protected]> wrote:
> > On Wed, Nov 4, 2020 at 9:15 AM Andreas Metzler <[email protected]> wrote:
> > > However the Debian changelog file is not a symlink, only the upstream
> > > one.

Same with aptitude-robot:

  W: aptitude-robot: debian-changelog-file-is-a-symlink 
usr/share/doc/aptitude-robot/changelog.gz

But:

  → debc | fgrep changelog
  -rw-r--r-- root/root      5390 2021-09-19 15:17 
./usr/share/doc/aptitude-robot/changelog.Debian.gz
  lrwxrwxrwx root/root         0 2021-09-19 15:17 
./usr/share/doc/aptitude-robot/changelog.gz -> changelog.Debian.gz

> > Unfortunately, Lintian cannot tell from an installation package
> > (*.deb) whether it was built from a native source package.

Huh? This should be obvious from the binary package version number.

> It does not need to imho. It should simply consider 
> /usr/share/doc/package/changelog.Debian.gz as Debian changelog if it
> exists and only fall back to /usr/share/doc/package/changelog.gz
> otherwise.

Ack, that should work as well. Although I still don't see how lintian
isn't able to determine from a binary package's version number if it's
a native or a normal package. (And aptitude-robot is a bit of both
respectively inbetween, hence that symlink.)

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to