Bug#624305: config-edit fails when parsing DEP5 copyright with a comma in the License field

Niko Tyni ntyni at debian.org
Wed Apr 27 18:48:29 UTC 2011


On Wed, Apr 27, 2011 at 01:44:07PM +0200, Dominique Dumont wrote:
> Le mercredi 27 avril 2011 11:46:39, Niko Tyni a écrit :
> 
> > Quoting DEP-5:
> >  For the most complex cases, the comma is used to disambiguate the
> >  priority of ors and ands: and has the priority over or, unless preceded
> >  by a comma. For instance:
> > 
> >  A or B and C means A or (B and C). A or B, and C means (A or B), and C.
> > 
> > However, the model does not seem to support this:
> 
> Ack. I will fix this upstream. I just need to tweak the Parse::RecDescent 
> grammar of C::M::Debian::Dependency.

I think that should have been C::M::Debian::Dpkg::Copyright::License
(or something like that :)

Patch attached in the hope it saves you a bit of work.

Thanks for Config::Model,
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list