[packages/ghc] all backends require default compiler

atler atler at pld-linux.org
Fri Mar 18 16:07:50 CET 2022


commit 835231bd80db2d2d9f9078185b565a6b1011b690
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 18 15:57:30 2022 +0100

    all backends require default compiler

 ghc.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index dcdc0b9..3e76790 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -134,14 +134,11 @@ BuildRequires:	latexmk
 #For generating documentation in PDF: fop or xmltex
 BuildRequires:	sphinx-pdg-3
 %endif
-%if %{with unregisterised}
 Requires:	gcc
-%else
-%if %{without ncg}
+%if %{without unregisterised} && %{without ncg}
 # targets without ncg use llvm backend by default which requires llc/opt
 Requires:	llvm >= 9
 %endif
-%endif
 Provides:	ghc-array = %{gpv_array}
 Provides:	ghc-base = %{gpv_base}
 Provides:	ghc-binary = %{gpv_binary}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc.git/commitdiff/aefa5c4f25ce18e1a3e2a549b46f02931c40deb3



More information about the pld-cvs-commit mailing list