From 5837d2e4ff4456169c1dbe70c272eedfe7f3be4aaa7c701ccc0127f1ae203b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:02 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-easy-file revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-easy-file?expand=0&rev=40 --- ghc-easy-file.changes | 5 +++++ ghc-easy-file.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-easy-file.changes b/ghc-easy-file.changes index 5b9ad1a..68c7525 100644 --- a/ghc-easy-file.changes +++ b/ghc-easy-file.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:44:42 UTC 2020 - Peter Simons diff --git a/ghc-easy-file.spec b/ghc-easy-file.spec index f1dfcf6..88e0566 100644 --- a/ghc-easy-file.spec +++ b/ghc-easy-file.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel 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 %description Cross-platform File handling for Unix/Mac/Windows.