diff --git a/ghc-mwc-random.changes b/ghc-mwc-random.changes index dd590dd..a33f749 100644 --- a/ghc-mwc-random.changes +++ b/ghc-mwc-random.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:31 UTC 2020 - Peter Simons diff --git a/ghc-mwc-random.spec b/ghc-mwc-random.spec index bfe7359..96754f9 100644 --- a/ghc-mwc-random.spec +++ b/ghc-mwc-random.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel BuildRequires: ghc-vector-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 package contains code for generating high quality random numbers that