Bug#384137: [Buildd-tools-devel] Bug#384137: binNMU versioning change

Roger Leigh rleigh at whinlatter.ukfsn.org
Tue Aug 22 10:26:08 UTC 2006


Clint Adams <schizo at debian.org> writes:

> Looking through the Nov. 2005 buildd-tools-devel archives, I don't see
> a reason why this change wouldn't have been applied.
>
> --- /usr/share/perl5/Sbuild.pm	2006-07-15 18:49:37.000000000 -0400
> +++ /tmp/Sbuild.pm	2006-08-21 22:13:36.294722182 -0400
> @@ -165,23 +165,7 @@
>  	my $v = shift;
>  	my $binNMUver = shift;
>  
> -	if ($v =~ /^(.*)-([^-]+)$/) {
> -		my ($upstream, $debian) = ($1, $2);
> -		my @parts = split( /\./, $debian );
> -		if (@parts == 1) {
> -			return "$upstream-$debian.0.$binNMUver";
> -		}
> -		elsif (@parts == 2) {
> -			return "$upstream-$debian.$binNMUver";
> -		}
> -		else {
> -			$parts[$#parts]+=$binNMUver;
> -			return "$upstream-".join( ".", @parts );
> -		}
> -	}
> -	else {
> -		return "$v.0.$binNMUver";
> -	}
> +	return "$v+b$binNMUver";
>  }
>  
>  1;

I think it was probably an oversight; it looks like it needs applying.
Could you point me to the original mail in the archives--I can't find
it?


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060822/4ec47625/attachment-0069.pgp


More information about the Buildd-tools-devel mailing list