[Buildd-tools-devel] Re: Bug#300145: sbuild: Should use distribution from changelog, not unstable by default
Francesco Paolo Lovergine
frankie@debian.org
Sun, 27 Mar 2005 11:22:02 +0200
On Fri, Mar 25, 2005 at 10:17:06PM +0100, Michael Banck wrote:
> tags 300145 +patch
> thanks
>
> On Fri, Mar 18, 2005 at 12:03:24AM +0100, Michael Banck wrote:
> > sbuild overrides the distribution with 'unstable' by default if nothing
> > else is specified. However, as an end-user tool, sbuild should honor
> > the distribution as used in the changelog by default.
>
> The following patch does this. Unless the user explicitely specifies
> the distribution via -d $dist (in which case
> $main::override_distribution gets set), sbuild does not override the
> Distribution field in .changes.
>
> I tested this with a source package for experimental, and Distribution
> is unstable when -d unstable, and experimental otherwise.
>
>
> Any objections to applying this?
>
No, that's ok.
--
Francesco P. Lovergine