aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-25 11:03:14 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-25 11:03:14 +0000
commitca35aed375324b08a53226f2db2a897d9be893b0 (patch)
tree073cb58416b29623bf82096f620af4db6d329a9e /lib
parent9b8e206898849b530b72f9ca803eab9b711f1a4a (diff)
downloadmga-youri-submit-ca35aed375324b08a53226f2db2a897d9be893b0.tar
mga-youri-submit-ca35aed375324b08a53226f2db2a897d9be893b0.tar.gz
mga-youri-submit-ca35aed375324b08a53226f2db2a897d9be893b0.tar.bz2
mga-youri-submit-ca35aed375324b08a53226f2db2a897d9be893b0.tar.xz
mga-youri-submit-ca35aed375324b08a53226f2db2a897d9be893b0.zip
Check dependencies on x86_64 as this is where the src.rpm is generated
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Check/Deps.pm4
1 files changed, 3 insertions, 1 deletions
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",