Bug#528377: debian-control-has-unusual-field-spacing: allow \n just after :
Russ Allbery <rra@debian.org> writes:
> Stephane Glondu <steph@glondu.net> writes:
>> Everything is said in the subject and the patch.
> I'm afraid I need to hear a bit more, since I'm fairly sure that
> folding fields is not permitted in the DEBIAN/control file at all, let
> alone immediately after the colon. I believe such control files would
> break some software that parses them.
Except of course you're checking the debian/control file in the source
package, not the binary package, since then you'd be patching
checks/fields. Whoops.
The patch itself won't work since it's acting on a file read
line-by-line and with a trailing newline stripped, so it would need to
be written somewhat differently.
I *think* the sense of the change is correct, though.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: