diff --git a/ghc-fmt.changes b/ghc-fmt.changes index 63cb4ff..927cdf7 100644 --- a/ghc-fmt.changes +++ b/ghc-fmt.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 Dec 11 16:53:43 UTC 2020 - psimons@suse.com diff --git a/ghc-fmt.spec b/ghc-fmt.spec index aa8b8b3..0205296 100644 --- a/ghc-fmt.spec +++ b/ghc-fmt.spec @@ -36,12 +36,7 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-time-locale-compat-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-doctest-devel