From 653938807e0fbb76b7f4db7221ac2b5690980ab6e60faa402aa3b5366b61336e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:50 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-commonmark revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-commonmark?expand=0&rev=10 --- ghc-commonmark.changes | 5 +++++ ghc-commonmark.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-commonmark.changes b/ghc-commonmark.changes index b8f18ab..4884bc6 100644 --- a/ghc-commonmark.changes +++ b/ghc-commonmark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Sat Nov 7 15:34:52 UTC 2020 - psimons@suse.com diff --git a/ghc-commonmark.spec b/ghc-commonmark.spec index c443d01..e0c2e02 100644 --- a/ghc-commonmark.spec +++ b/ghc-commonmark.spec @@ -32,6 +32,12 @@ BuildRequires: ghc-parsec-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-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-QuickCheck-devel BuildRequires: ghc-tasty-devel