Package: libdebian-source-perl Version: 0.94 Severity: normal The ‘Debian::Control::Stanza’ constructor assumes that field names must have the exact case of the names as defined in that library. This assumption is incorrect.
Given a Perl module:: use Debian::Control::Stanza::Source; my $s = Debian::Control::Stanza::Source->new( { 'Build-Depends' => "debhelper", 'VCS-Git' => "https://example.org/", } ); The above code causes the error message:: Invalid field given (VCS_Git) at ./foo.pl line 6. The spelling “VCS-Git” is not invalid. Debian Policy §5.1 specifies that “Field names are not case-sensitive […]”. The library should allow field names without regard to their capitalisation. For example, the names “vcs-git”, “Vcs-Git”, “VCS-Git”, “vcS-gIt” should all be interpreted as the same field name by ‘libdebian-source-perl’. -- \ “I have yet to see any problem, however complicated, which, | `\ when you looked at it in the right way, did not become still | _o__) more complicated.” —Paul Anderson | Ben Finney <bign...@debian.org>
signature.asc
Description: PGP signature