From 5f0dc93c12441906f7fa488944a0df8ea028fbbecd4925a6d17366972a3cfed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:04 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-errors revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-errors?expand=0&rev=13 --- ghc-errors.changes | 5 +++++ ghc-errors.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-errors.changes b/ghc-errors.changes index 7711bce..1002a0e 100644 --- a/ghc-errors.changes +++ b/ghc-errors.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Aug 18 10:44:47 UTC 2020 - Peter Simons diff --git a/ghc-errors.spec b/ghc-errors.spec index aab586b..1dc79ac 100644 --- a/ghc-errors.spec +++ b/ghc-errors.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-safe-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel +# 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 The one-stop shop for all your error-handling needs! Just import