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