--- apt-show-versions.ORIG 2013-11-23 18:51:32.184960841 +0100 +++ apt-show-versions 2013-11-24 12:06:20.509078277 +0100 @@ -443,12 +443,19 @@ sub print_package_internal { if ($cache->{$pkgarch}) { $cand = $policy->candidate($cache->{$pkgarch}); } + my $irelease; # first release associated with $iversion in reorder_pkg_releases() order. + foreach (@pkg_releases) { + if ( $_->{$VERS} eq $iversion ) { + $irelease = &get_rel_name($_->{$RELEASE}); + last; + } + } foreach (@pkg_releases) { my $version = $_->{$VERS}; if ($version) { my @version_info; ($found, @version_info) = - &print_version(&get_rel_name($_->{$RELEASE}), + &print_version($irelease, $pkgarch, $iversion, $version, $cand); push @print_info, @version_info if ($found); $aversion = $version;
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org