Hi I would suggest to use cme to generate debian/copyright file.
See https://github.com/dod38fr/config-model/wiki/Updating-debian-copyright-file-with-cme You can also try cme to fix small mistakes in debian package files. See https://github.com/dod38fr/config-model/wiki/Managing-Debian-packages-with-cme HTH