aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Post/CleanRpmsrate.pm2
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');
}