only require ghc-doc-index if we package it

epel9
Jens Petersen 12 years ago
parent 46792007c9
commit 5ff993dce3

@ -84,7 +84,9 @@ BuildRequires: python
BuildRequires: llvm >= 3.0 BuildRequires: llvm >= 3.0
%endif %endif
Requires: ghc-compiler = %{version}-%{release} Requires: ghc-compiler = %{version}-%{release}
%if %{undefined without_haddock}
Requires: ghc-doc-index = %{version}-%{release} Requires: ghc-doc-index = %{version}-%{release}
%endif
Requires: ghc-libraries = %{version}-%{release} Requires: ghc-libraries = %{version}-%{release}
Requires: ghc-ghc-devel = %{version}-%{release} Requires: ghc-ghc-devel = %{version}-%{release}

Loading…
Cancel
Save