[ghc] only require ghc-doc-index if we package it
Jens Petersen
petersen at fedoraproject.org
Tue Apr 23 10:52:28 UTC 2013
commit 67bcee1c1cd1f7fb766c532b95419bbb4f569336
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Apr 23 19:52:22 2013 +0900
only require ghc-doc-index if we package it
ghc.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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}
More information about the scm-commits
mailing list