[packages/ghc-data-default-class] - complete ghc dependencies list, noautocompressdoc *.haddock

qboosh qboosh at pld-linux.org
Sun Dec 15 17:56:48 CET 2013


commit 6bff72b1b9ce38eba8efaeaf1aeea1d937e0f44a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 15 17:58:30 2013 +0100

    - complete ghc dependencies list, noautocompressdoc *.haddock

 ghc-data-default-class.spec | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec
index e2bb2bc..afff638 100644
--- a/ghc-data-default-class.spec
+++ b/ghc-data-default-class.spec
@@ -15,14 +15,25 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	abfd756bcc6d92e47436992c80ccdb80
 URL:		http://hackage.haskell.org/package/data-default-class
 BuildRequires:	ghc >= 6.12.3
-%{?with_prof:BuildRequires:	ghc-prof >= 6.12.3}
+BuildRequires:	ghc-base >= 2
+BuildRequires:	ghc-base < 5
+%if %{with prof}
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 2
+BuildRequires:	ghc-base-prof < 5
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
+Requires:	ghc-base >= 2
+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
 A class for types with a default value.
 
@@ -34,6 +45,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 < 5
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-data-default-class.git/commitdiff/6bff72b1b9ce38eba8efaeaf1aeea1d937e0f44a



More information about the pld-cvs-commit mailing list