diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index 0b45841..2322cf8 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.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:31 UTC 2020 - psimons@suse.com diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec index f308060..aafcde0 100644 --- a/ghc-unix-compat.spec +++ b/ghc-unix-compat.spec @@ -28,12 +28,7 @@ Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revis BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-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} %description This package provides portable implementations of parts of the unix package.