Bug#1021773: libconfig-model-dpkg-perl: tweak example in docs for fix.(scanned.)copyright does not work

Dominique Dumont dod at debian.org
Sat Oct 15 16:26:50 BST 2022


On Friday, 14 October 2022 15:07:56 CEST you wrote:
> Note: loading debian/fix.scanned.copyright fixes from copyright fix files
> Configuration item 'Dpkg::Copyright' has a user error:
>         Error while applying fix.scanned.copyright file:
>         Configuration item 'Files:"'*'" Copyright' has a wrong value:
>         Undefined mandatory value.

I've reproduced this message with a copyright that contains:

Copyright: "2009-2011, Dominique Dumont <ddumont at cpan.org>"

Note the quite at the beginning of the copyright statement. With this quote at 
the beginning of the statement, the substitution command s/\s*".*// matches 
the whole statement, so it removes its content, which triggers the "Undefined 
mandatory value".

HTH



More information about the pkg-perl-maintainers mailing list