aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Action/Link.pm2
-rw-r--r--lib/Youri/Submit/Check/Deps.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Action/Link.pm b/lib/Youri/Submit/Action/Link.pm
index 7e69683..ce722f1 100644
--- a/lib/Youri/Submit/Action/Link.pm
+++ b/lib/Youri/Submit/Action/Link.pm
@@ -43,7 +43,7 @@ sub run {
$file =~ s/^\d{14}\.\w*\.\w+\.\d+_//;
$file =~ s/^\@\d+://;
- foreach my $arch ($repository->get_extra_arches()) {
+ foreach my $arch ($repository->get_target_arches($target)) {
# compute installation target, forcing arch
my $other_dir = $repository->get_install_dir(
$package,
diff --git a/lib/Youri/Submit/Check/Deps.pm b/lib/Youri/Submit/Check/Deps.pm
index f8d5d89..129ee8c 100644
--- a/lib/Youri/Submit/Check/Deps.pm
+++ b/lib/Youri/Submit/Check/Deps.pm
@@ -72,7 +72,7 @@ sub run {
my $arch = 'x86_64';
my @exclusivearchs = $package->get_tag("exclusivearchs");
return if @exclusivearchs && ! (grep {$_ eq $arch} @exclusivearchs);
-# foreach my $arch ($repository->get_extra_arches()) {
+# foreach my $arch ($repository->get_target_arches($target)) {
my $media = new Youri::Media::URPM(name => "core.".$arch,
type => "binary",
synthesis => "$path/$arch/media/$section/media_info/synthesis.hdlist.cz");