]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/DoShow.pm
Merge branch 'master' into archive-master
[deb/packages.git] / lib / Packages / DoShow.pm
index e0c2627782f5811f2b88d693802ba2e31b542108..9f59690589d59ec1745a27dc937fd24ee2bda1b3 100644 (file)
@@ -242,7 +242,7 @@ sub do_show {
                        # more information
                        #
                        my $changesandcopy = 0;
-                       $changesandcopy = 1 if $suite eq "woody";
+                       $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0;
                        moreinfo( name => $pkg, data => $page, vars => \%contents,
                                  opts => $opts,
                                  env => \%FTP_SITES,
@@ -324,7 +324,7 @@ sub do_show {
                    # more information
                    #
                    my $changesandcopy = 0;
-                   $changesandcopy = 1 if $suite eq "woody";
+                   $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0;
                    moreinfo( name => $pkg, data => $page, vars => \%contents,
                              opts => $opts,
                              env => \%FTP_SITES,
@@ -360,6 +360,7 @@ sub moreinfo {
     if ($info{sourcedownload}) {
        $contents->{src}{url} = make_url($source,'',{source=>'source'});
        $contents->{src}{pkg} = $source;
+       $contents->{src}{version} = $source_version;
 
        my @downloads;
        my $files = $page->get_src( 'files' );