[Buildd-tools-devel] Bug#384137: binNMU versioning change
Clint Adams
schizo at debian.org
Tue Aug 22 02:22:30 UTC 2006
Package: sbuild
Version: 0.49
Severity: normal
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;
More information about the Buildd-tools-devel
mailing list