From 1f1868939ab4468dd6cda7f7d4866474d8b681556cb5bd3248cd87a549a96c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:51 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-commonmark-pandoc revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-commonmark-pandoc?expand=0&rev=9 --- ghc-commonmark-pandoc.changes | 5 +++++ ghc-commonmark-pandoc.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-commonmark-pandoc.changes b/ghc-commonmark-pandoc.changes index 582f85c..02cffdf 100644 --- a/ghc-commonmark-pandoc.changes +++ b/ghc-commonmark-pandoc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Sep 22 09:33:51 UTC 2020 - psimons@suse.com diff --git a/ghc-commonmark-pandoc.spec b/ghc-commonmark-pandoc.spec index 0e7b2c9..d09cd06 100644 --- a/ghc-commonmark-pandoc.spec +++ b/ghc-commonmark-pandoc.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-pandoc-types-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-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 %description This library provides typeclasses for rendering commonmark to Pandoc types.