From 5cd6155cb334a782d030af372a2c16e93504ffbfe6eac776d5ff3de7fe00731b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:53:13 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-unliftio revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unliftio?expand=0&rev=47 --- ghc-unliftio.changes | 5 +++++ ghc-unliftio.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-unliftio.changes b/ghc-unliftio.changes index 278c3c2..c2fd8d4 100644 --- a/ghc-unliftio.changes +++ b/ghc-unliftio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Oct 30 03:01:41 UTC 2020 - psimons@suse.com diff --git a/ghc-unliftio.spec b/ghc-unliftio.spec index 9463f3e..7b85992 100644 --- a/ghc-unliftio.spec +++ b/ghc-unliftio.spec @@ -38,6 +38,12 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-unliftio-core-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 %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel