only require ghc-doc-index if we package it

This commit is contained in:
Jens Petersen 2013-04-23 19:52:22 +09:00
parent 9340b05892
commit 67bcee1c1c

View File

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