commit f7179f4db809b1f6c990a13931d9effeeb224dc1
Author: Jakub Bogusz <[email protected]>
Date:   Sun Dec 15 18:35:33 2013 +0100

    - complete ghc dependencies list, noautocompressdoc *.haddock

 ghc-transformers.spec | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ghc-transformers.spec b/ghc-transformers.spec
index 899b3b9..ed5c55c 100644
--- a/ghc-transformers.spec
+++ b/ghc-transformers.spec
@@ -15,14 +15,25 @@ Source0:    
http://hackage.haskell.org/package/transformers-%{version}/%{pkgname}-%
 # Source0-md5: 852dc0b79cc2bcb39136287d3dd385e5
 URL:           http://hackage.haskell.org/package/transformers/
 BuildRequires: ghc >= 6.12.3
-%{?with_prof:BuildRequires:    ghc-prof >= 6.12.3}
+BuildRequires: ghc-base >= 2
+BuildRequires: ghc-base < 6
+%if %{with prof}
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-base-prof >= 2
+BuildRequires: ghc-base-prof < 6
+%endif
 BuildRequires: rpmbuild(macros) >= 1.608
 %requires_eq   ghc
+Requires:      ghc-base >= 2
+Requires:      ghc-base < 6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
 %define                _enable_debug_packages  0
 
+# don't compress haddock files
+%define                _noautocompressdoc      *.haddock
+
 %description
 This package contains the monad transformer class, the concrete monad
 transformers, operations and liftings. It can be used on its own in
@@ -42,6 +53,8 @@ Summary:      Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):     Biblioteka profilujÄ…ca %{pkgname} dla GHC
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      ghc-base-prof >= 2
+Requires:      ghc-base-prof < 6
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-transformers.git/commitdiff/f7179f4db809b1f6c990a13931d9effeeb224dc1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to