diff --git a/ghc-commonmark.changes b/ghc-commonmark.changes index 4884bc6..f37ea17 100644 --- a/ghc-commonmark.changes +++ b/ghc-commonmark.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup -- force i686 arch on i586 +- disable %{ix86} build ------------------------------------------------------------------- Sat Nov 7 15:34:52 UTC 2020 - psimons@suse.com diff --git a/ghc-commonmark.spec b/ghc-commonmark.spec index e0c2e02..4e6b066 100644 --- a/ghc-commonmark.spec +++ b/ghc-commonmark.spec @@ -32,12 +32,7 @@ BuildRequires: ghc-parsec-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel 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 +ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-tasty-devel