From 676d102916badb27bc519930551b78547fcdd7b231d96e25605488b2aa61dbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:47 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-case-insensitive revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-case-insensitive?expand=0&rev=58 --- ghc-case-insensitive.changes | 5 +++++ ghc-case-insensitive.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-case-insensitive.changes b/ghc-case-insensitive.changes index 1bdcf40..3e2e4ad 100644 --- a/ghc-case-insensitive.changes +++ b/ghc-case-insensitive.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:44:15 UTC 2020 - Peter Simons diff --git a/ghc-case-insensitive.spec b/ghc-case-insensitive.spec index 7a1075e..9b78852 100644 --- a/ghc-case-insensitive.spec +++ b/ghc-case-insensitive.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-deepseq-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-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-HUnit-devel BuildRequires: ghc-test-framework-devel