/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.23 by slords, Mon Nov 5 14:51:28 2007 UTC Revision 1.24 by slords, Wed Nov 7 19:31:20 2007 UTC
# Line 489  sub loadpkg { Line 489  sub loadpkg {
489                    nosig   => $nosig,                    nosig   => $nosig,
490                  };                  };
491      $sources{$srcname}++;      $sources{$srcname}++;
492      $latest{$pkg->name} = $rpms[$#rpms] if ! $pkg->is_source_package && ( ! $latest{$pkg->name} || $pkg gt $latest{$pkg->name}->{rpm} );      if ( ! $pkg->is_source_package && ! $repos->{$reponame}->{stage} ) {
493            $latest{$pkg->name} = $rpms[$#rpms] if ! $latest{$pkg->name} || $pkg gt $latest{$pkg->name}->{rpm};
494        }
495  }  }
496    
497  sub loadbase {  sub loadbase {
# Line 510  sub loadbase { Line 512  sub loadbase {
512              return if grep { $_ eq $srcname } @{$skippkg->{$rel}->{$repo}};              return if grep { $_ eq $srcname } @{$skippkg->{$rel}->{$repo}};
513              $pkgrepo = $repo;              $pkgrepo = $repo;
514              return unless $pkg->is_source_package || $cmp;              return unless $pkg->is_source_package || $cmp;
515              return if ! $pkg->is_source_package && $pkg gt $cmp->{rpm} && rprop($cmp, 'base') && rprop($cmp, 'prio') > $repos->{$pkgrepo}->{prio};              return if ! $pkg->is_source_package && $pkg ge $cmp->{rpm} && rprop($cmp, 'base') && rprop($cmp, 'prio') > $repos->{$pkgrepo}->{prio};
516              last;              last;
517          }          }
518      }      }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed