From ed34595c28d1e4c974b967efe61454042c08d3087c3e088f6b395637306af963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:11 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-gitrev revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-gitrev?expand=0&rev=35 --- ghc-gitrev.changes | 5 +++++ ghc-gitrev.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-gitrev.changes b/ghc-gitrev.changes index 9e14aef..faf74a0 100644 --- a/ghc-gitrev.changes +++ b/ghc-gitrev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Sep 4 10:49:28 UTC 2020 - Peter Simons diff --git a/ghc-gitrev.spec b/ghc-gitrev.spec index 606934a..7fc8527 100644 --- a/ghc-gitrev.spec +++ b/ghc-gitrev.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-process-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-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 %description Some handy Template Haskell splices for including the current git hash and