Andrey Rahmatullin <w...@debian.org> writes:
> On Wed, Sep 06, 2017 at 08:55:45AM +0200, Mattia Rizzolo wrote:

>> No idea about apt, but dpkg's maintainer told me (shortly after having
>> filed this bug) that dpkg supported it basically since ever; quoting
>> him:
>> 
>> <guillem> mapreri: the trailing comma syntax *must* be supported,
>>           otherwise things like «foo, ${substvar}» with an empty
>>           substvar would break havoc
>> <guillem> mapreri: well dpkg does not accept it but the perl code does
>>           and remove it before generating the DEBIAN/control files so
>>           it's all good
>> <guillem> mapreri: I'll clarify the deb-src-control man page

> So the syntax is supported in source control files but not in the binary
> ones?

Yeah, I think that's the right interpretation.  (Probably not in *.dsc
files either.)  That means that it doesn't matter if tools that operate
only on the archive support it, since they won't see it; only package
building tools that operate on debian/control need to support it, and they
all seem to.  (wrap-and-sort -t adds the trailing commas and is very
widely used, so if this didn't work, I think we'd know by now.)

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>

Reply via email to