From 67bcee1c1cd1f7fb766c532b95419bbb4f569336 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Apr 23 2013 10:52:22 +0000 Subject: only require ghc-doc-index if we package it --- diff --git a/ghc.spec b/ghc.spec index ec3af0c..e5ab498 100644 --- a/ghc.spec +++ b/ghc.spec @@ -84,7 +84,9 @@ BuildRequires: python BuildRequires: llvm >= 3.0 %endif Requires: ghc-compiler = %{version}-%{release} +%if %{undefined without_haddock} Requires: ghc-doc-index = %{version}-%{release} +%endif Requires: ghc-libraries = %{version}-%{release} Requires: ghc-ghc-devel = %{version}-%{release}