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