From 9c22fe0f1e9b7e0094cb27284409ef2b72af092a Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Apr 26 2023 09:11:05 +0000 Subject: MyBS: exclude openSUSE:Factory i586 It's present, but not built. People are supposed to add: OBS_PROJECT_LEGACYX86=openSUSE:Factory:LegacyX86 to rpm/config.sh now. --- diff --git a/scripts/lib/SUSE/MyBS.pm b/scripts/lib/SUSE/MyBS.pm index e429616..7c36c51 100644 --- a/scripts/lib/SUSE/MyBS.pm +++ b/scripts/lib/SUSE/MyBS.pm @@ -489,7 +489,10 @@ sub get_repo_archs { $self->{has_match} = 0; } if ($element eq "arch" && $self->{has_match}) { - push(@{$self->{res}{$self->{repo_name}}}, $self->{cur_string}); + # i586 in openSUSE:Factory is excluded from builds + if ($project ne 'openSUSE:Factory' || $self->{cur_string} ne 'i586') { + push(@{$self->{res}{$self->{repo_name}}}, $self->{cur_string}); + } $self->{cur_string} = ""; } };