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;'});

or modify the version number in, and remove the NMU comment from, the
entry dch has created, add your entry and save the changelog. Next time
you run dch, it will notice that the currently active changelog stanza
was added by you and skip setting the NMU-flag.

Regards,

Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to