[packages/ghc-syb] - complete ghc dependencies list, noautocompressdoc *.haddock

qboosh qboosh at pld-linux.org
Sun Dec 15 18:27:42 CET 2013


commit 5a5bfcc11a84a2874d253d7bd4e174998421bdd5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 15 18:29:24 2013 +0100

    - complete ghc dependencies list, noautocompressdoc *.haddock

 ghc-syb.spec | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/ghc-syb.spec b/ghc-syb.spec
index b5ff582..415d794 100644
--- a/ghc-syb.spec
+++ b/ghc-syb.spec
@@ -15,14 +15,26 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	28df3b70cef652fa6c04e6353c580a7a
 URL:		http://hackage.haskell.org/package/syb
 BuildRequires:	ghc >= 6.12.3
-%{?with_prof:BuildRequires:	ghc-prof >= 6.12.3}
+BuildRequires:	ghc-base >= 4.0
+BuildRequires:	ghc-base < 5
+%if %{with prof}
+BuildRequires:	ghc-prof >= 6.12.3}
+BuildRequires:	ghc-base-prof >= 4.0
+BuildRequires:	ghc-base-prof < 5
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
+Requires:	ghc >= 6.12.3
+Requires:	ghc-base >= 4.0
+Requires:	ghc-base < 5
 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 generics system described in the Scrap Your
 Boilerplate papers (see
@@ -43,6 +55,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 >= 4.0
+Requires:	ghc-base-prof < 5
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-syb.git/commitdiff/5a5bfcc11a84a2874d253d7bd4e174998421bdd5



More information about the pld-cvs-commit mailing list