From 96a003d686be163af7c30895948f023af9411558 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sep 03 2018 07:32:02 +0000 Subject: use without_prof and without_docs (instead of without_haddock) - without_prof is backcompat --- diff --git a/ghc.spec b/ghc.spec index 8a18a56..ad7ea26 100644 --- a/ghc.spec +++ b/ghc.spec @@ -220,7 +220,7 @@ This package provides the User Guide and Haddock manual. %ghc_lib_subpackage -d -l BSD time-1.8.0.2 %ghc_lib_subpackage -d -l BSD transformers-0.5.5.0 %ghc_lib_subpackage -d -l BSD unix-2.7.2.2 -%if %{undefined without_haddock} +%if %{undefined without_docs} %ghc_lib_subpackage -d -l BSD xhtml-3000.2.2.1 %endif %endif @@ -292,7 +292,7 @@ BuildFlavour = quick-llvm BuildFlavour = quick %endif %endif -GhcLibWays = v dyn %{?with_prof:p} +GhcLibWays = v dyn %{!?without_prof:p} %if %{with docs} HADDOCK_DOCS = YES BUILD_MAN = YES