From ca35aed375324b08a53226f2db2a897d9be893b0 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 25 Jan 2011 11:03:14 +0000 Subject: Check dependencies on x86_64 as this is where the src.rpm is generated --- lib/Youri/Submit/Check/Deps.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Youri/Submit/Check/Deps.pm b/lib/Youri/Submit/Check/Deps.pm index 6812d38..fa239df 100644 --- a/lib/Youri/Submit/Check/Deps.pm +++ b/lib/Youri/Submit/Check/Deps.pm @@ -66,7 +66,9 @@ sub run { my $path = $repository->get_install_root() . "/" . $target; # FIXME we need dependencies on all archs except for ExclusiveArch - my $arch = 'i586'; + # 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 + my $arch = 'x86_64'; # foreach my $arch ($repository->get_extra_arches()) { my $media = new Youri::Media::URPM(name => "core.".$arch, type => "binary", -- cgit v1.2.1