From 3d52bc29a29ea6b40204a61f25e817d959b5386d Mon Sep 17 00:00:00 2001 From: Anton Bobrov Date: Wed, 8 Nov 2023 11:22:41 +0100 Subject: [PATCH] Exclude RHEL 8 and 7 archs that we do not ship from the build process Related: RHEL-16522 --- thunderbird.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/thunderbird.spec b/thunderbird.spec index 7a1c4d8..5affaf1 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -143,14 +143,19 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+ ExcludeArch: %{ix86} %endif %if 0%{?rhel} == 8 + # Started to ship on aarch64 in RHEL 8.2, on s390x in RHEL 8.3 %if %{rhel_minor_version} == 1 -ExcludeArch: %{ix86} aarch64 s390x +ExcludeArch: %{ix86} s390x aarch64 %else + %if %{rhel_minor_version} == 2 +ExcludeArch: %{ix86} s390x + %else ExcludeArch: %{ix86} + %endif %endif %endif %if 0%{?rhel} == 7 -ExcludeArch: aarch64 s390 ppc +ExcludeArch: aarch64 s390 ppc ppc64 %endif # We can't use the official tarball as it contains some test files that use