From ed53cf898f3e614a33e964f7e77b96626f0486635f3a052a999258bb1c7a3864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:34 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-aeson revision:22, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=68 --- ghc-aeson.changes | 5 +++++ ghc-aeson.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 97a21a2..5abd425 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.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:45 UTC 2020 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 1ddb8f0..32aacaf 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -48,6 +48,12 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-uuid-types-devel BuildRequires: ghc-vector-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-Diff-devel BuildRequires: ghc-QuickCheck-devel