[buildd-tools-devel] Bug#529786: The solution I'm applying
Gustavo Noronha Silva
gustavo.noronha at collabora.co.uk
Tue Jun 16 13:51:45 UTC 2009
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 <gustavo.noronha at collabora.co.uk>
Collabora Ltd.
More information about the Buildd-tools-devel
mailing list