From 965db64778828c6e35e37b69dc4862ec68e240bda79cc854e1c6567f0780b4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:00 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-distribution-opensuse revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-distribution-opensuse?expand=0&rev=3 --- ghc-distribution-opensuse.changes | 5 +++++ ghc-distribution-opensuse.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-distribution-opensuse.changes b/ghc-distribution-opensuse.changes index b476b96..470b36e 100644 --- a/ghc-distribution-opensuse.changes +++ b/ghc-distribution-opensuse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Sep 8 09:43:16 UTC 2020 - Peter Simons diff --git a/ghc-distribution-opensuse.spec b/ghc-distribution-opensuse.spec index 0815fdb..d23040a 100644 --- a/ghc-distribution-opensuse.spec +++ b/ghc-distribution-opensuse.spec @@ -44,6 +44,12 @@ BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-turtle-devel BuildRequires: pandoc +# GHC dont support i586 +%ifarch %{ix86} +ExclusiveArch: i586 i686 +ExclusiveArch: i686 +%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic} +%endif %description This library is a loose collection of types, functions, and tools that users