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