From e76d2721b2f2a42c4dd03f592ff3c0669e2cfdc7 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 20 Feb 2011 20:50:18 +0000 Subject: Only check deps for packages buildable on x86_64 --- lib/Youri/Submit/Check/Deps.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Youri/Submit') 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", -- cgit v1.2.1