diff options
author | Pascal Terjan <pterjan@mageia.org> | 2024-04-05 12:55:12 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2024-04-05 12:55:12 +0000 |
commit | 389b1601f4de33ac7a751ec3cb23ecf0c48d1bea (patch) | |
tree | e4c15d8bedd313dae18ba2d9be5dd8fdcb3136a2 /lib | |
parent | be630cf5f86661eae5f7af47481ba3dae6279f1a (diff) | |
download | mga-youri-submit-master.tar mga-youri-submit-master.tar.gz mga-youri-submit-master.tar.bz2 mga-youri-submit-master.tar.xz mga-youri-submit-master.zip |
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Submit/Post/CleanRpmsrate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Post/CleanRpmsrate.pm b/lib/Youri/Submit/Post/CleanRpmsrate.pm index 86975d8..a4cd614 100644 --- a/lib/Youri/Submit/Post/CleanRpmsrate.pm +++ b/lib/Youri/Submit/Post/CleanRpmsrate.pm @@ -27,7 +27,7 @@ sub run { croak "Not a class method" unless ref $self; my $root = $repository->get_install_root(); my @changed = @{$repository->get_arch_changed($target)}; - if (grep { $_ eq 'i586' } @changed) { + if (grep { $_ =~ /i.86/ } @changed) { # x86_64 uses i586 pkgs, so rpmsrate need to be rebuild @changed = uniq(@changed, 'x86_64'); } |