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
debarchiver.patch
Description: Binary data