Hi,
On Sun, 13 Apr 2008, Joachim Breitner wrote:
> dpkg-buildpackge -v0 does not work as expected, as it does not pass
> "-v0" to dpkg-genchanges. The problem is this line:
>
> if ($since) { push @change_opts, "-v$since" }
>
> which interprets "0" as a false value. "-v0.0" is a usually good
> work-around.
>
> I guess it should be changed to
> if (defined $since) { push @change_opts, "-v$since" }
> but I have not tried it.
This looks right except that a similar change is also needed in
dpkg-genchanges and apparently further change are also needed
in Dpkg::Changelog and Dpkg::Changelog::Debian...
And when you start digging, you have to handle the other options of
dpkg-parsechangelog in the same way (--from, --to, --until ...). So
it's not as trivial as it looked like at first sight.
Frank, do you want to handle this?
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]