From 753a0ad6eca4291b86843664fc491529617eb574a962ab8e8eb058c8b7535b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:46 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-pretty-show revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-show?expand=0&rev=5 --- ghc-pretty-show.changes | 5 +++++ ghc-pretty-show.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-pretty-show.changes b/ghc-pretty-show.changes index 135d53c..7ef299b 100644 --- a/ghc-pretty-show.changes +++ b/ghc-pretty-show.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Aug 18 10:45:45 UTC 2020 - Peter Simons diff --git a/ghc-pretty-show.spec b/ghc-pretty-show.spec index 2e2c8ba..06b37c8 100644 --- a/ghc-pretty-show.spec +++ b/ghc-pretty-show.spec @@ -33,6 +33,12 @@ BuildRequires: ghc-pretty-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: happy +# 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 We provide a library and an executable for working with derived 'Show'