From dc9c1cd697ad2722d668386ffe35ab1d7892d2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 19 Dec 2020 17:47:25 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:alex revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/alex?expand=0&rev=98 --- alex.changes | 2 +- alex.spec | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) 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