From 4d444a2f4b664be989e9190a3a215786503e673105599d5137fec5fd7edf8744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:30 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-kan-extensions revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-kan-extensions?expand=0&rev=20 --- ghc-kan-extensions.changes | 5 +++++ ghc-kan-extensions.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-kan-extensions.changes b/ghc-kan-extensions.changes index 0891611..c570ac0 100644 --- a/ghc-kan-extensions.changes +++ b/ghc-kan-extensions.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Oct 6 08:56:17 UTC 2020 - psimons@suse.com diff --git a/ghc-kan-extensions.spec b/ghc-kan-extensions.spec index df480f8..f9c3528 100644 --- a/ghc-kan-extensions.spec +++ b/ghc-kan-extensions.spec @@ -40,6 +40,12 @@ BuildRequires: ghc-semigroupoids-devel BuildRequires: ghc-tagged-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 Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density