Notification time stamped 2021-11-01 04:36:23 UTC
From 2578310a69d2aaf7608e2f261cfa0e8698c37334 Mon Sep 17 00:00:00 2001 From: Jens Petersen petersen@redhat.com Date: Nov 01 2021 04:34:41 +0000 Subject: fix the llvm version dependency for f33
"No matching package to install: 'llvm11'"
---
diff --git a/ghc.spec b/ghc.spec index 579d832..7c6e0ee 100644 --- a/ghc.spec +++ b/ghc.spec @@ -33,7 +33,11 @@ %bcond_with testsuite
# 8.10 can use llvm 9-12 +%if 0%{?fedora} >= 33 %global llvm_major 11 +%else +%global llvm_major 10 +%endif %global ghc_llvm_archs armv7hl aarch64
%global ghc_unregisterized_arches s390 s390x %{mips} riscv64 @@ -118,7 +122,11 @@ BuildRequires: python3 BuildRequires: python3-sphinx %endif %ifarch %{ghc_llvm_archs} +%if 0%{?fedora} >= 34 BuildRequires: llvm%{llvm_major} +%else +BuildRequires: llvm = %{llvm_major} +%endif %endif %ifarch armv7hl # patch12 @@ -173,7 +181,11 @@ Requires: ghc-filesystem Obsoletes: ghc-doc-index < %{version}-%{release} %endif %ifarch %{ghc_llvm_archs} +%if 0%{?fedora} >= 34 Requires: llvm%{llvm_major} +%else +Requires: llvm = %{llvm_major} +%endif %endif
%description compiler
https://src.fedoraproject.org/rpms/ghc/c/2578310a69d2aaf7608e2f261cfa0e8698c...