From 36cf52fa750bb941c6b440ab20251887b00557fd Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sep 01 2014 11:13:34 +0000 Subject: Related: rhbz#1119709 only build for platforms we ship --- diff --git a/libreoffice.spec b/libreoffice.spec index 62ec9c3..8ba7ebf 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -51,6 +51,11 @@ License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 Group: Applications/Productivity URL: http://www.libreoffice.org/ +%if 0%{?rhel} && 0%{?rhel} >= 7 +# improve build time by only building for platforms libreoffice is shipped for +ExcludeArch: %{ix86} ppc ppc64 s390 s390x +%endif + Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}.tar.xz Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar.xz Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz