From 389b1601f4de33ac7a751ec3cb23ecf0c48d1bea Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 5 Apr 2024 12:55:12 +0000 Subject: Make CleanRpmsrate support i686 packages --- lib/Youri/Submit/Post/CleanRpmsrate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Youri/Submit/Post') 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'); } -- cgit v1.2.1