17 |
my $stagedir = '/builds'; |
my $stagedir = '/builds'; |
18 |
my $arch = `uname -i`; |
my $arch = `uname -i`; |
19 |
chomp $arch; |
chomp $arch; |
20 |
|
#$arch = 'x86_64'; |
21 |
|
|
22 |
my @repos = ( |
my @repos = ( |
23 |
"$releasedir/$smerel/smeos/$arch/SME", |
"$releasedir/$smerel/smeos/$arch/SME", |
36 |
"$builds/RPMS/noarch", |
"$builds/RPMS/noarch", |
37 |
"$stagedir/RPMS-$arch", |
"$stagedir/RPMS-$arch", |
38 |
); |
); |
39 |
|
@repos = grep { ! m{/i[56]86$} } @repos if $arch eq 'x86_64'; |
40 |
|
|
41 |
my @srcrepos = ( |
my @srcrepos = ( |
42 |
"/mirrors/centos/$centosrel/fasttrack/SRPMS", |
"/mirrors/centos/$centosrel/fasttrack/SRPMS", |
47 |
"/mirrors/atrpms/src/el$centosrel-$arch/atrpms/stable", |
"/mirrors/atrpms/src/el$centosrel-$arch/atrpms/stable", |
48 |
"/mirrors/atrpms/src/el$centosrel-$arch/atrpms/testing", |
"/mirrors/atrpms/src/el$centosrel-$arch/atrpms/testing", |
49 |
"/mirrors/fedora/epel/$centosrel/SRPMS", |
"/mirrors/fedora/epel/$centosrel/SRPMS", |
50 |
|
"/mirrors/fedora/epel/testing/$centosrel/SRPMS", |
51 |
"/mirrors/fedora/core/updates/$fedorarel/SRPMS", |
"/mirrors/fedora/core/updates/$fedorarel/SRPMS", |
52 |
"/mirrors/fedora/core/$fedorarel/source/SRPMS", |
"/mirrors/fedora/core/$fedorarel/source/SRPMS", |
53 |
"/mirrors/fedora/extras/$fedorarel/SRPMS", |
"/mirrors/fedora/extras/$fedorarel/SRPMS", |