diff --git a/ghc-skylighting-core.changes b/ghc-skylighting-core.changes index d3a4d33..3fd94c9 100644 --- a/ghc-skylighting-core.changes +++ b/ghc-skylighting-core.changes @@ -24,7 +24,7 @@ Fri Dec 18 09:18:53 UTC 2020 - psimons@suse.com ------------------------------------------------------------------- Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup -- force i686 arch on i586 +- disable %{ix86} build ------------------------------------------------------------------- Wed Nov 25 16:30:17 UTC 2020 - psimons@suse.com diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec index 22ee42d..8219b58 100644 --- a/ghc-skylighting-core.spec +++ b/ghc-skylighting-core.spec @@ -45,12 +45,7 @@ BuildRequires: ghc-safe-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-utf8-string-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-Diff-devel BuildRequires: ghc-HUnit-devel