diff --git a/abf.py b/abf.py index 9ab4e8d..051a9fd 100755 --- a/abf.py +++ b/abf.py @@ -1412,20 +1412,23 @@ def auto_resolve(): exit(1) arches.append(a) else: - try_arches = ['i586','i686','x86_64'] + try_arches = ['x86_64', 'aarch64'] # rosa2014.1, rosa2016.1 etc. (Rosa Fresh), but not e.g. rosa-server75 (Rosa-RHEL) if str(build_repositories[0]).find("rosa2019.0") >= 0 or str(build_repositories[0]).find("rosa2016.1") >= 0: - try_arches = ['i586', 'x86_64'] + try_arches = ['x86_64','i586'] if str(build_repositories[0]).find("rosa2019.05") >= 0: - try_arches = ['i686', 'x86_64'] + try_arches = ['x86_64', 'i686'] - if str(build_repositories[0]).find("rosa2021.1") >= 0 or str(build_repositories[0]).find("rosa13") >= 0: - try_arches = ['i686', 'x86_64', 'aarch64', 'riscv64', 'loongarch64'] + if str(build_repositories[0]).find("rosa2021.1") >= 0: + try_arches = ['x86_64', 'aarch64', 'i686'] + + if str(build_repositories[0]).find("rosa2023.1") >= 0 or str(build_repositories[0]).find("rosa13") >= 0: + try_arches = ['x86_64', 'aarch64', 'i686', 'riscv64', 'loongarch64'] if str(build_repositories[0]).find("rosa2021.15") >= 0: - try_arches = ['i686', 'x86_64', 'aarch64'] + try_arches = ['x86_64', 'aarch64', 'i686'] if str(build_repositories[0]).find("openmandriva") >= 0 or str(build_repositories[0]).find("4.2") >= 0: try_arches = ['x86_64', 'znver1', 'aarch64']