diff --git a/ghc-HsYAML-aeson.changes b/ghc-HsYAML-aeson.changes index 587bf9c..3bce7f2 100644 --- a/ghc-HsYAML-aeson.changes +++ b/ghc-HsYAML-aeson.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:35 UTC 2020 - psimons@suse.com diff --git a/ghc-HsYAML-aeson.spec b/ghc-HsYAML-aeson.spec index 0adb8ae..5f8ea65 100644 --- a/ghc-HsYAML-aeson.spec +++ b/ghc-HsYAML-aeson.spec @@ -36,6 +36,12 @@ BuildRequires: ghc-scientific-devel BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-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 %description The [YAML 1.2](https://yaml.org/spec/1.2/spec.html) format provides a much