Thanks a lot! I have applied the patch and uploaded. // Ola
On Tue, Sep 24, 2013 at 5:49 PM, Uditha Atukorala <u...@geniusse.com> wrote: > Package: debarchiver > Version: 0.9.11 > Severity: minor > Tags: patch > > Hi Maintainer, > > This is somewhat related to the bug #724316 I reported earlier. > When I was uploading .changes files for different distributions other > than unstable built using the distribution codenames, e.g. wheezy, > jessie etc., debarchiver generates an incorrect 'Release' file by > putting the codename value into 'Suite'. I have been using sbuild > --dist=jessie package.dsc etc. to build for different distributions. > > As a workaround you can have the suite name (e.g. testing) as the > 'Distribution' in the .changes file but the following simple patch > (also attached) would take into account such scenarios and generate > the correct 'Release' file. > > --- debarchiver.pl 2013-09-23 17:59:03.000000000 +0100 > +++ debarchiver 2013-09-24 15:46:57.000000000 +0100 > @@ -1913,6 +1913,13 @@ > # OVERRIDES > > foreach my $distr (split /\s+/, $distrd) { > + > + # Do a reverse mapping of the distribution here so we always > + # speak the same language. i.e. testing, unstable etc. instead > + # of jessie, sid etc. > + my %distlookup = reverse %distmapping; > + $distr = $distlookup{$distr} || $distr; > + > # Note to autoscan that files are installed to this dir. > $dests{"$distr/$major/$archsec"} = 1; > > > Thanks, > Udi > -- --- Inguza Technology AB --- MSc in Information Technology ---- / o...@inguza.com Annebergsslingan 37 \ | o...@debian.org 654 65 KARLSTAD | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / ---------------------------------------------------------------