From a69f1f582f25752b6f4455b0473a976b5cfbed0caff4d69382f068aec6e4efb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:53:03 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-tasty revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty?expand=0&rev=5 --- ghc-tasty.changes | 5 +++++ ghc-tasty.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-tasty.changes b/ghc-tasty.changes index 5dda6f0..783ec7a 100644 --- a/ghc-tasty.changes +++ b/ghc-tasty.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:46:10 UTC 2020 - Peter Simons diff --git a/ghc-tasty.spec b/ghc-tasty.spec index 235a617..ca2522a 100644 --- a/ghc-tasty.spec +++ b/ghc-tasty.spec @@ -37,6 +37,12 @@ BuildRequires: ghc-tagged-devel BuildRequires: ghc-unbounded-delays-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-wcwidth-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 Tasty is a modern testing framework for Haskell. It lets you combine your unit