[buildd-tools-devel] Bug#712627: sbuild: Please accept 0 as a source version number
Geoffrey Thomas
gthomas at mokafive.com
Tue Jun 18 02:05:57 UTC 2013
Package: sbuild
Version: 0.64.0-1
Tags: patch
Dear maintainer,
I have a very local package whose source version is 0 because don't have
proper version numbering yet while the software is under initial
development (debian/rules adds a build timestamp to the binary package).
It doesn't build with sbuild, because sbuild checks the result of
Dpkg::Version->new for perl falseness, and "0" is false.
Attached is a super-trivial patch to check for undef instead, since that's
what Dpkg::Version is documented as returning on error. I've tested that
my package now builds, but setting the version in debian/changelog to
"badversion" still causes sbuild to fail.
--
Geoffrey Thomas
gthomas at mokafive.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sbuild-0-is-a-valid-version-number.patch
Type: text/x-diff
Size: 759 bytes
Desc:
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20130617/3cd0cc88/attachment.patch>
More information about the Buildd-tools-devel
mailing list