From 3b7cceda87dd7815dd0c58ffcef2e298e9d4b264d35d50e6c8727cad721c81c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:03 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ekg-core revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ekg-core?expand=0&rev=4 --- ghc-ekg-core.changes | 5 +++++ ghc-ekg-core.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-ekg-core.changes b/ghc-ekg-core.changes index 203a67a..49395ba 100644 --- a/ghc-ekg-core.changes +++ b/ghc-ekg-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Oct 30 03:01:35 UTC 2020 - psimons@suse.com diff --git a/ghc-ekg-core.spec b/ghc-ekg-core.spec index c5d3e11..5ccd9b7 100644 --- a/ghc-ekg-core.spec +++ b/ghc-ekg-core.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-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 This library lets you defined and track system metrics.