diff --git a/ghc-iproute.changes b/ghc-iproute.changes index b4737f1..7a13921 100644 --- a/ghc-iproute.changes +++ b/ghc-iproute.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 ------------------------------------------------------------------- Tue Nov 17 15:26:56 UTC 2020 - psimons@suse.com diff --git a/ghc-iproute.spec b/ghc-iproute.spec index 3fb562a..4c61324 100644 --- a/ghc-iproute.spec +++ b/ghc-iproute.spec @@ -32,12 +32,7 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-network-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-doctest-devel