From 1bdc2a3dc7e5c7b05183c8e83df4c047ab96b372660e0dd62e7855750109710f 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-clist revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-clist?expand=0&rev=7 --- ghc-data-clist.changes | 5 +++++ ghc-data-clist.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-data-clist.changes b/ghc-data-clist.changes index 38cbbc8..c5d3f58 100644 --- a/ghc-data-clist.changes +++ b/ghc-data-clist.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Mon Aug 31 09:34:31 UTC 2020 - psimons@suse.com diff --git a/ghc-data-clist.spec b/ghc-data-clist.spec index e72eb0d..51e7115 100644 --- a/ghc-data-clist.spec +++ b/ghc-data-clist.spec @@ -29,6 +29,12 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-deepseq-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 Simple functional bidirectional ring type. Given that the ring terminiology