[Buildd-tools-devel] Bug#368066: sbuild: version strings should be
allowed to be "0"
Santiago Vila
sanvila at unex.es
Fri May 19 16:06:31 UTC 2006
Package: sbuild
Version: 0.45
Severity: minor
Tags: patch
The string "0" is valid as a string version for a Debian package.
Therefore, sbuild should not complain about it.
[ This was already reported as Bug #300205. Sorry for reporting it again
but it seems the fix was not applied, or it was lost, or who knows ].
diff -ru sbuild-0.45.orig/sbuild sbuild-0.45/sbuild
--- sbuild-0.45.orig/sbuild 2006-04-11 20:55:46.000000000 +0200
+++ sbuild-0.45/sbuild 2006-05-19 17:58:55.314423664 +0200
@@ -1724,7 +1724,7 @@
$result{$pkg}->{'Version'} eq '=*=PROVIDED=*=');
next;
}
- if (!$version) {
+ if ($version eq "") {
print PLOG "sbuild: parse error in $main::chroot_dir/var/lib/dpkg/status: ",
"no Version: field for package $pkg\n";
next;
Thanks.
More information about the Buildd-tools-devel
mailing list