From a8ec1d0f59ab6715e772420b0c2eabf127fe48857b34e682e09b86ffdf5f7c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:31 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-libxml-sax revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-libxml-sax?expand=0&rev=9 --- ghc-libxml-sax.changes | 5 +++++ ghc-libxml-sax.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-libxml-sax.changes b/ghc-libxml-sax.changes index 09f5651..28dcc53 100644 --- a/ghc-libxml-sax.changes +++ b/ghc-libxml-sax.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Sep 4 10:40:13 UTC 2020 - Peter Simons diff --git a/ghc-libxml-sax.spec b/ghc-libxml-sax.spec index e8f102e..e406877 100644 --- a/ghc-libxml-sax.spec +++ b/ghc-libxml-sax.spec @@ -32,6 +32,12 @@ BuildRequires: ghc-xml-types-devel BuildRequires: libxml2-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libxml-2.0) +# 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 %description Bindings for the libXML2 SAX interface.