diff --git a/alex.changes b/alex.changes index e71864b..8299918 100644 --- a/alex.changes +++ b/alex.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 Dec 15 16:30:27 UTC 2020 - psimons@suse.com diff --git a/alex.spec b/alex.spec index 3d04c3e..5ac5ef7 100644 --- a/alex.spec +++ b/alex.spec @@ -35,12 +35,7 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-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-process-devel %endif