On Sun, Jan 25, 2026 at 04:37:20PM +0100, gregor herrmann wrote:
> On Sun, 25 Jan 2026 00:28:55 -0300, Matheus Polkorny wrote:
> 
> > I am not sure what the expected behavior for NEWS.Debian is in this
> > case, but I thought it would be better to report it.
> 
> I think you fell into a very common trap around dh_installchangelogs and
> file names. Quoting (selectively) from the manpage:
> 
> #v+
> FILES
>     debian/NEWS
>     debian/package.NEWS
>         Automatically installed into usr/share/doc/package/ in the package 
> build directory.
> 
>         Use the package specific name if package needs a different
>         NEWS or changelog file.
> 
>         The NEWS file is always installed with a name of NEWS.Debian.
> #v-
> 
> In other words: The filename in the source package is debian/NEWS (or
> debian/package.NEWS), and it gets installed as NEWS.Debian.
> 
> A file debian/NEWS.Debian in the source package is unknown to and ignored by
> dh_installchangelogs.
> 
> 
> Cheers,
> gregor
> 
> -- 
>  .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
>  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
>  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
>    `-

Thank you for the clarification. Apologies for my mistake; I will close the bug
-- 
Thanks,
Polkorny

Attachment: signature.asc
Description: PGP signature

Reply via email to