diff --git a/ghc-edit-distance.changes b/ghc-edit-distance.changes index 3d82a43..e8993be 100644 --- a/ghc-edit-distance.changes +++ b/ghc-edit-distance.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 ------------------------------------------------------------------- Mon Aug 31 09:34:39 UTC 2020 - psimons@suse.com diff --git a/ghc-edit-distance.spec b/ghc-edit-distance.spec index 39a919c..3793d49 100644 --- a/ghc-edit-distance.spec +++ b/ghc-edit-distance.spec @@ -31,12 +31,7 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-random-devel BuildRequires: ghc-rpm-macros -# 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-test-framework-devel