[libreoffice/f20] Related: rhbz#1119709 only build for platforms we ship

David Tardon dtardon at fedoraproject.org
Mon Sep 1 11:18:26 UTC 2014


commit 164122cadf77ccad32f0835c71a66040b430f10e
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Sep 1 13:07:07 2014 +0200

    Related: rhbz#1119709 only build for platforms we ship

 libreoffice.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 93a6a79..6838248 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -41,6 +41,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


More information about the scm-commits mailing list