diff --git a/ghc-disk-free-space.changes b/ghc-disk-free-space.changes index 1bcd3c0..f340799 100644 --- a/ghc-disk-free-space.changes +++ b/ghc-disk-free-space.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:30 UTC 2020 - psimons@suse.com diff --git a/ghc-disk-free-space.spec b/ghc-disk-free-space.spec index 8d7991e..8aecc1e 100644 --- a/ghc-disk-free-space.spec +++ b/ghc-disk-free-space.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/3.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 A cross-platform library for retrieving information about disk space usage.