Accepting request 1059580 from home:Guillaume_G:branches:devel:languages:haskell

- Do not require unversionned llvm since ghc needs a specific
  llvm version  - boo#1207265

OBS-URL: https://build.opensuse.org/request/show/1059580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=84
This commit is contained in:
Peter Simons 2023-01-23 11:01:26 +00:00 committed by Git OBS Bridge
parent 00534527c4
commit ded0a6e8a1
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 19 12:39:27 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Do not require unversionned llvm since ghc needs a specific
llvm version - boo#1207265
-------------------------------------------------------------------
Thu Dec 1 16:43:06 UTC 2022 - Peter Simons <psimons@suse.com>

View File

@ -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