diff --git a/ghc-hi-file-parser.changes b/ghc-hi-file-parser.changes index afe55a0..01e4a4a 100644 --- a/ghc-hi-file-parser.changes +++ b/ghc-hi-file-parser.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 ------------------------------------------------------------------- Fri Sep 4 13:39:55 UTC 2020 - Peter Simons diff --git a/ghc-hi-file-parser.spec b/ghc-hi-file-parser.spec index fc423eb..3b2672d 100644 --- a/ghc-hi-file-parser.spec +++ b/ghc-hi-file-parser.spec @@ -32,12 +32,7 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rio-devel BuildRequires: ghc-rpm-macros 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 +ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-hspec-devel %endif