From 93b65d3dff90287e4fdcf11eb36fd40f5b4720a925236187d6ede549042cb6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 19 Dec 2020 17:47:44 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-casing revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-casing?expand=0&rev=2 --- ghc-casing.changes | 2 +- ghc-casing.spec | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ghc-casing.changes b/ghc-casing.changes index 370aa1c..0e97d61 100644 --- a/ghc-casing.changes +++ b/ghc-casing.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 8 14:30:48 UTC 2020 - psimons@suse.com diff --git a/ghc-casing.spec b/ghc-casing.spec index a300564..6d371a1 100644 --- a/ghc-casing.spec +++ b/ghc-casing.spec @@ -29,12 +29,7 @@ Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revis BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-split-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-tasty-devel BuildRequires: ghc-tasty-hunit-devel