From ba1f7828fa19673eec31995fb7e22c37f6e065ee808d4369069331d08fbb011a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:38 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-mustache revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mustache?expand=0&rev=45 --- ghc-mustache.changes | 5 +++++ ghc-mustache.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-mustache.changes b/ghc-mustache.changes index 5134e46..55f114a 100644 --- a/ghc-mustache.changes +++ b/ghc-mustache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Thu Sep 17 07:31:28 UTC 2020 - Michel Normand diff --git a/ghc-mustache.spec b/ghc-mustache.spec index 8a9f892..3bbcee2 100644 --- a/ghc-mustache.spec +++ b/ghc-mustache.spec @@ -44,6 +44,12 @@ BuildRequires: ghc-th-lift-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-yaml-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-base-unicode-symbols-devel BuildRequires: ghc-hspec-devel