On Saturday 12 April 2008 14:08:04 Adam D. Barratt wrote:
> Hi,
>
> On Sat, 2008-04-12 at 13:21 -0400, Felipe Sateler wrote:
> > debchange thinks I'm doing a NMU of my own package:
> >
> > [EMAIL PROTECTED]:csound-5.08.0.dfsg2% echo "$DEBFULLNAME <$DEBEMAIL>"
> > Felipe Sateler <[EMAIL PROTECTED]>
> > [EMAIL PROTECTED]:csound-5.08.0.dfsg2% grep Maintainer debian/control
> > Maintainer: Felipe Sateler <[EMAIL PROTECTED]>
> > [EMAIL PROTECTED]:csound-5.08.0.dfsg2% dch
> > (Note: vim starts up)
> > csound (1:5.08.0.dfsg2-2.1) UNRELEASED; urgency=low
> >
> >   * Non-maintainer upload.
>
> This appears to be a side-effect of the fact that the control file
> contains comments (which is of course perfectly legal); specifically,
> libparse-debcontrol-perl needs to be told to strip the comments before
> passing the result back to debchange.
>
> I've applied the above change in SVN. If you want to resolve the problem
> locally in the meantime, there are two solutions I can suggest:
>
> Modify line 680 of /usr/bin/dch to read:
>
> my $deb822 = $parser->parse_file('debian/control', {stripComments =>
> 'true;'});

Works fine with this change. Thanks.



-- 
Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to