diff --git a/ghc-cryptonite-conduit.changes b/ghc-cryptonite-conduit.changes index 26fd01b..4e4483b 100644 --- a/ghc-cryptonite-conduit.changes +++ b/ghc-cryptonite-conduit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Mon Aug 31 09:34:38 UTC 2020 - psimons@suse.com diff --git a/ghc-cryptonite-conduit.spec b/ghc-cryptonite-conduit.spec index d1dcb13..35d5567 100644 --- a/ghc-cryptonite-conduit.spec +++ b/ghc-cryptonite-conduit.spec @@ -36,6 +36,12 @@ BuildRequires: ghc-memory-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-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-conduit-combinators-devel BuildRequires: ghc-tasty-devel