diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-02-20 20:50:18 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-02-20 20:50:18 +0000 |
commit | e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7 (patch) | |
tree | 70cceb861f3beb2e9a8dc3b4bfa4fb9349a97369 /lib/Youri | |
parent | 9be47f7f05f307e346fd549f219f1db21610d067 (diff) | |
download | mga-youri-submit-e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7.tar mga-youri-submit-e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7.tar.gz mga-youri-submit-e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7.tar.bz2 mga-youri-submit-e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7.tar.xz mga-youri-submit-e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7.zip |
Only check deps for packages buildable on x86_64
Diffstat (limited to 'lib/Youri')
-rw-r--r-- | lib/Youri/Submit/Check/Deps.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Youri/Submit/Check/Deps.pm b/lib/Youri/Submit/Check/Deps.pm index 69cd1f9..3d5d235 100644 --- a/lib/Youri/Submit/Check/Deps.pm +++ b/lib/Youri/Submit/Check/Deps.pm @@ -68,7 +68,10 @@ sub run { # FIXME we need dependencies on all archs except for ExclusiveArch # Unfortunately some dependencies depend on the arch were the src.rpm was geenrated # Currently src.rpm is generated on x86_64, so we need to check on that one + # If the package is not buildable on x86_64 we just don't test anything my $arch = 'x86_64'; + my @exclusivearchs = $package->get_tag("exclusivearchs"); + return if @exclusivearchs && ! (grep {$_ eq $arch} @exclusivearchs); # foreach my $arch ($repository->get_extra_arches()) { my $media = new Youri::Media::URPM(name => "core.".$arch, type => "binary", |