diff --git a/ghc.changes b/ghc.changes index dd35f0f..577206e 100644 --- a/ghc.changes +++ b/ghc.changes @@ -2,6 +2,7 @@ Sun Dec 29 13:10:39 UTC 2019 - Ondřej Súkup - use prebuilt alex and happy on Tumbleweed to avoid buildcycle +- Don't require llvm in ghc-compiler for other architectures than arm ------------------------------------------------------------------- Sat Dec 28 22:38:34 UTC 2019 - Ondřej Súkup diff --git a/ghc.spec b/ghc.spec index 766fb1c..15825e8 100644 --- a/ghc.spec +++ b/ghc.spec @@ -138,13 +138,20 @@ Requires(postun): update-alternatives %ifarch aarch64 %{arm} Requires: binutils-gold %endif -%ifarch aarch64 %{arm} %{ix86} x86_64 +%ifarch aarch64 %{arm} %if 0%{?suse_version} >= 1550 Requires: llvm7 %else Requires: llvm %endif %endif +%ifarch x86_64 %{ix86} +%if 0%{?suse_version} >= 1550 +Suggests: llvm7 +%else +Suggests: llvm +%endif +%endif %description compiler This package contains the GHC compiler, tools and utilities.