From bc0066584071293f30503f581ced43dec145f2adebaabc87a67d431714556cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:21 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-iso8601-time revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-iso8601-time?expand=0&rev=12 --- ghc-iso8601-time.changes | 5 +++++ ghc-iso8601-time.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-iso8601-time.changes b/ghc-iso8601-time.changes index 89ba768..8ce597c 100644 --- a/ghc-iso8601-time.changes +++ b/ghc-iso8601-time.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-iso8601-time.spec b/ghc-iso8601-time.spec index 53c4773..7d46f2e 100644 --- a/ghc-iso8601-time.spec +++ b/ghc-iso8601-time.spec @@ -28,6 +28,12 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-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 %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-hspec-devel