/[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.16 by slords, Tue May 22 22:14:43 2007 UTC
# Line 66  foreach my $rpm ( sort keys %rpms ) Line 66  foreach my $rpm ( sort keys %rpms )
66          }          }
67      }      }
68      @headers = reverse sort { $a cmp $b } @headers;      @headers = reverse sort { $a cmp $b } @headers;
69        if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i } @headers)
70            @headers = grep { $_->filename !~ m#/fedora/#i || $_->filename =~ m#/epel/#i || $_ eq $rpms{$rpm} } @headers;
71        }
72      unless ($opts{a}) {      unless ($opts{a}) {
73          if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers)          if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers)
74          {          {
# Line 73  foreach my $rpm ( sort keys %rpms ) Line 76  foreach my $rpm ( sort keys %rpms )
76          }          }
77          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)
78          {          {
79              @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;
80          }          }
81      }      }
82      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