[ghc-mtl] bring back needed ghc_pkg_deps for BR

Jens Petersen petersen at fedoraproject.org
Thu Nov 25 03:23:20 UTC 2010


commit e3fd975c04fbd3a9ff290550ec543c61600f7b79
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Nov 25 13:23:23 2010 +1000

    bring back needed ghc_pkg_deps for BR

 ghc-mtl.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ghc-mtl.spec b/ghc-mtl.spec
index a026caa..de24cd8 100644
--- a/ghc-mtl.spec
+++ b/ghc-mtl.spec
@@ -30,6 +30,7 @@ BuildRequires:  ghc-rpm-macros >= 0.8.1
 %if %{with hscolour}
 BuildRequires:  hscolour
 %endif
+%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
 
 %description
 %{common_description}


More information about the scm-commits mailing list