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