From a4be598717f622da21b1fa1c271111491b07df4343b4c53b4080b2acffb2eff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:02 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-edit-distance revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-edit-distance?expand=0&rev=45 --- ghc-edit-distance.changes | 5 +++++ ghc-edit-distance.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-edit-distance.changes b/ghc-edit-distance.changes index 4e825be..3d82a43 100644 --- a/ghc-edit-distance.changes +++ b/ghc-edit-distance.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:39 UTC 2020 - psimons@suse.com diff --git a/ghc-edit-distance.spec b/ghc-edit-distance.spec index 1ea85a0..39a919c 100644 --- a/ghc-edit-distance.spec +++ b/ghc-edit-distance.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-random-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 %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-test-framework-devel