From 6e85e4dfa938b5190a2f60c5791b23581fc8d16875f63c3932fad5f1d9a23ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:52:40 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-old-locale revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-old-locale?expand=0&rev=45 --- ghc-old-locale.changes | 5 +++++ ghc-old-locale.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-old-locale.changes b/ghc-old-locale.changes index fe09fd5..2b566d2 100644 --- a/ghc-old-locale.changes +++ b/ghc-old-locale.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Mon Aug 31 09:34:37 UTC 2020 - psimons@suse.com diff --git a/ghc-old-locale.spec b/ghc-old-locale.spec index b1a16e7..cd3bb81 100644 --- a/ghc-old-locale.spec +++ b/ghc-old-locale.spec @@ -27,6 +27,12 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +# 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 package provides the ability to adapt to locale conventions such as date