[buildd-tools-devel] Bug#681292: sbuild: --append-to-version should set source:Version substvar

Geoffrey Thomas geofft at MIT.EDU
Wed Feb 13 06:51:00 UTC 2013


tags 672711 + patch
tags 681292 + patch
thanks

On Thu, 12 Jul 2012, Raphael Hertzog wrote:

> If you tag the changelog entry with "binary-only=yes" then
> dpkg-gencontrol will use the former changelog entry to find
> out the version to put in ${source:Version}.
>
> ftplib (3.1-1-9+b1) unstable; urgency=low, binary-only=yes
>
> You should update --append-to-version to use this mechanism too.

Hi sbuild maintainers,

I was checking on the Debian bugs I opened to see what their status was, 
and didn't see progress on this, so I wanted to check to see if we were 
waiting on anything from dpkg, or could fix this now in sbuild. The 
conversation in #681292 seemd to indicate that you were okay with this 
approach.

The debian-672711 branch of https://github.com/geofft/sbuild.git has the 
following patch and a changelog entry:

--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1324,7 +1324,7 @@ sub build {
             }
             $dists = $self->get_conf('DISTRIBUTION');

-           print F "$name ($NMUversion) $dists; urgency=low\n\n";
+           print F "$name ($NMUversion) $dists; urgency=low, binary-only=yes\n\n";
             if ($self->get_conf('APPEND_TO_VERSION')) {
                 print F "  * Append ", $self->get_conf('APPEND_TO_VERSION'),
                     " to version number; no source changes\n";


Can you merge it?

Thanks,
-- 
Geoffrey Thomas
geofft at mit.edu



More information about the Buildd-tools-devel mailing list