I think it's a bug in Ubuntu's debhelper package.
I am not adding the symlink manually, instead I'm using `dh_installchangelogs -k CHANGES.rst` command.
Ubuntu patches dh_installchangelogs to not install the upstream changelog:
- dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages.
However it seems like Ubuntu's patch does not handle the -k option well: it removes the symlink, but not its target.
I think it's a bug in Ubuntu's debhelper package.
I am not adding the symlink manually, instead I'm using `dh_installchan gelogs -k CHANGES.rst` command.
Ubuntu patches dh_installchang elogs to not install the upstream changelog:
- dh_installchang elogs: Do not install upstream changelog in compat level
7 and higher to avoid pointlessly bloating installed packages.
However it seems like Ubuntu's patch does not handle the -k option well: it removes the symlink, but not its target.