/[smeserver]/builds_bin/checkrpms
ViewVC logotype

Diff of /builds_bin/checkrpms

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

Revision 1.15 by slords, Tue May 22 17:52:44 2007 UTC Revision 1.18 by slords, Mon Jun 4 16:39:15 2007 UTC
# Line 29  my @repos = ( Line 29  my @repos = (
29                "/mirrors/fedora/epel/$centosrel/$arch",                "/mirrors/fedora/epel/$centosrel/$arch",
30                "/mirrors/rpmforge/dag/redhat/el$centosrel/en/$arch/dag/RPMS",                "/mirrors/rpmforge/dag/redhat/el$centosrel/en/$arch/dag/RPMS",
31                "/mirrors/atrpms/el$centosrel-$arch/atrpms/stable",                "/mirrors/atrpms/el$centosrel-$arch/atrpms/stable",
32                  "/mirrors/atrpms/el$centosrel-$arch/atrpms/testing",
33                "/mirrors/fedora/core/updates/$fedorarel/$arch",                "/mirrors/fedora/core/updates/$fedorarel/$arch",
34                "/mirrors/fedora/core/$fedorarel/$arch/os/Fedora/RPMS",                "/mirrors/fedora/core/$fedorarel/$arch/os/Fedora/RPMS",
35                "/mirrors/fedora/extras/$fedorarel/$arch",                "/mirrors/fedora/extras/$fedorarel/$arch",
# Line 66  foreach my $rpm ( sort keys %rpms ) Line 67  foreach my $rpm ( sort keys %rpms )
67          }          }
68      }      }
69      @headers = reverse sort { $a cmp $b } @headers;      @headers = reverse sort { $a cmp $b } @headers;
70        if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i } @headers)
71        {
72            @headers = grep { $_->filename !~ m#/fedora/#i || $_->filename =~ m#/epel/#i || $_ eq $rpms{$rpm} } @headers;
73        }
74      unless ($opts{a}) {      unless ($opts{a}) {
75          if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers)          if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers)
76          {          {
# Line 73  foreach my $rpm ( sort keys %rpms ) Line 78  foreach my $rpm ( sort keys %rpms )
78          }          }
79          if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i || $_->filename =~ m#/(dag|epel)/[^d]#i } @headers)          if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i || $_->filename =~ m#/(dag|epel)/[^d]#i } @headers)
80          {          {
81              @headers = grep { $_->filename !~ m#/(atrpms|fedora)/#i || $_->filename =~ m#/epel/#i || $_ eq $rpms{$rpm} } @headers;              @headers = grep { $_->filename !~ m#/atrpms/#i || $_ eq $rpms{$rpm} } @headers;
82          }          }
83      }      }
84      if ($#headers < 0)      if ($#headers < 0)


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