Hey,

This is the solution I'm applying after upgrades, to keep my buildd
working, I'm sure you'll find a cleaner way, but thought it could be
useful:

--- /usr/share/perl5/Sbuild/Build.pm~   2009-06-16 09:07:15.000000000 +0100
+++ /usr/share/perl5/Sbuild/Build.pm    2009-06-16 14:45:42.000000000 +0100
@@ -168,6 +168,9 @@
     $self->set('VersionEpoch', $epoch);
     $self->set('VersionUpstream', $uversion);
     $self->set('VersionDebian', $dversion);
+    my $dscversion = ${oversion};
+    $dscversion =~ s/^\d+://; # Strip epoch
+    $self->set('DSC File', "${pkg}_${dscversion}.dsc");
     $self->set('DSC Dir', "${pkg}-${uversion}");
 }

Thanks,

-- 
Gustavo Noronha Silva <[email protected]>
Collabora Ltd.




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to