From f206aa7a1da4da74050699f00e9cc6c9ba80fc2b88bf1e110af9bf95e44efaba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 19 Dec 2020 17:49:27 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-unix-compat revision:14, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=60 --- ghc-unix-compat.changes | 2 +- ghc-unix-compat.spec | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index 0b45841..2322cf8 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.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 ------------------------------------------------------------------- Mon Aug 31 09:34:31 UTC 2020 - psimons@suse.com diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec index f308060..aafcde0 100644 --- a/ghc-unix-compat.spec +++ b/ghc-unix-compat.spec @@ -28,12 +28,7 @@ Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revis BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-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} %description This package provides portable implementations of parts of the unix package.