From c90f0d4b93dc29c55fd1a6bd539983c0eb9ded7f015319b687fa27ad2ddd9672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:56 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-data-default revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-default?expand=0&rev=45 --- ghc-data-default.changes | 5 +++++ ghc-data-default.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-data-default.changes b/ghc-data-default.changes index 265d3e6..33e9b02 100644 --- a/ghc-data-default.changes +++ b/ghc-data-default.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:34 UTC 2020 - Peter Simons diff --git a/ghc-data-default.spec b/ghc-data-default.spec index c048e26..ad51473 100644 --- a/ghc-data-default.spec +++ b/ghc-data-default.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-data-default-instances-containers-devel BuildRequires: ghc-data-default-instances-dlist-devel BuildRequires: ghc-data-default-instances-old-locale-devel BuildRequires: ghc-rpm-macros +# 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 A class for types with a default value.