From 19b95c656220ae25c1d0320abb44d2945fbdb755cc57c7e4d53934d7a613abee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:41 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-base64-bytestring-type revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base64-bytestring-type?expand=0&rev=3 --- ghc-base64-bytestring-type.changes | 5 +++++ ghc-base64-bytestring-type.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-base64-bytestring-type.changes b/ghc-base64-bytestring-type.changes index ab2873b..88e57bc 100644 --- a/ghc-base64-bytestring-type.changes +++ b/ghc-base64-bytestring-type.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Nov 3 10:09:07 UTC 2020 - psimons@suse.com diff --git a/ghc-base64-bytestring-type.spec b/ghc-base64-bytestring-type.spec index 8c608cd..d1757e4 100644 --- a/ghc-base64-bytestring-type.spec +++ b/ghc-base64-bytestring-type.spec @@ -40,6 +40,12 @@ BuildRequires: ghc-http-api-data-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-serialise-devel 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 %if %{with tests} BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel