From 24de08f433aa4a3f92bfaf2ee02082a982e922e832d4ccfb41c1d584d4e2bdb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= <mimi.vx@gmail.com>
Date: Sat, 19 Dec 2020 17:48:10 +0000
Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x
 package:ghc-heaps revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-heaps?expand=0&rev=6
---
 ghc-heaps.changes | 2 +-
 ghc-heaps.spec    | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/ghc-heaps.changes b/ghc-heaps.changes
index fed9773..769673f 100644
--- a/ghc-heaps.changes
+++ b/ghc-heaps.changes
@@ -1,7 +1,7 @@
 -------------------------------------------------------------------
 Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
  
-- force i686 arch on i586
+- disable %{ix86} build
  
 -------------------------------------------------------------------
 Tue Aug 18 10:44:59 UTC 2020 - Peter Simons <psimons@suse.com>
diff --git a/ghc-heaps.spec b/ghc-heaps.spec
index 5d2d85e..2ce61ab 100644
--- a/ghc-heaps.spec
+++ b/ghc-heaps.spec
@@ -26,12 +26,7 @@ URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-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
+ExcludeArch:    %{ix86}
 
 %description
 Asymptotically optimal Brodal/Okasaki bootstrapped skew-binomial heaps from the