diff --git a/ghc-bootstrap.changes b/ghc-bootstrap.changes index 106c57c..140eec5 100644 --- a/ghc-bootstrap.changes +++ b/ghc-bootstrap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 19 12:39:27 UTC 2023 - Guillaume GARDET + +- Do not require unversionned llvm since ghc needs a specific + llvm version - boo#1207265 + ------------------------------------------------------------------- Thu Dec 1 16:43:06 UTC 2022 - Peter Simons diff --git a/ghc-bootstrap.spec b/ghc-bootstrap.spec index 86439c3..f51d6c5 100644 --- a/ghc-bootstrap.spec +++ b/ghc-bootstrap.spec @@ -15,6 +15,12 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# Keep in sync with ghc.spec +%if 0%{suse_version} > 1550 +%global llvm_major 12 +%else +%global llvm_major 9 +%endif %ifarch ppc %define longarch powerpc @@ -93,7 +99,7 @@ Release: 0 BuildRequires: libnuma-devel %endif %ifarch aarch64 %{arm} -Requires: llvm +Requires: llvm%{llvm_major} %endif %ifnarch %{arm} s390x Requires: libffi-devel