error out early if the version number from the changelog
is not a valid Debian version.
2007-09-29 Frank Lichtenheld <djpig@debian.org>
+ * scripts/dpkg-buildpackage.pl: Call checkversion()
+ on version extracted from changelog. Since other
+ program we call later will do the same there is
+ really no reason not to fail early.
+
* scripts/dpkg-buildpackage.pl (testcommand):
Make the check more sensible. Instead of testing
/usr/bin/$cmd, test `which $cmd`.
* Add --utf8-strings to gpg call in dpkg-buildpackage since
that seems to be the better default. Suggested by Székelyi Szabolcs.
Closes: #379418
+ * Let dpkg-buildpackage error out early if the version number from
+ the changelog is not a valid Debian version. Closes: #216075
[ Updated dpkg translations ]
* Basque (Piarres Beobide). Closes: #440859
my $pkg = mustsetvar($changes{source}, _g('source package'));
my $version = mustsetvar($changes{version}, _g('source version'));
+checkversion($version);
my $maintainer;
if ($changedby) {