From 51680be7ae5fe466c9ec07df4ce53c7b1bea1d2f298dd4f24ebd564c7a684d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:49 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-reflection revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-reflection?expand=0&rev=22 --- ghc-reflection.changes | 5 +++++ ghc-reflection.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-reflection.changes b/ghc-reflection.changes index f18a9e0..d2326a5 100644 --- a/ghc-reflection.changes +++ b/ghc-reflection.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Aug 18 10:45:50 UTC 2020 - Peter Simons diff --git a/ghc-reflection.spec b/ghc-reflection.spec index aee177f..70a6a9f 100644 --- a/ghc-reflection.spec +++ b/ghc-reflection.spec @@ -28,6 +28,12 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-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 %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel