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

qboosh qboosh at pld-linux.org
Sun Dec 15 18:04:50 CET 2013


commit 8e09331a83d4cf397d88b73b687ec6e6e2a148db
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 15 18:06:29 2013 +0100

    - complete ghc dependencies list, noautocompressdoc *.haddock

 ghc-data-default-instances-containers.spec | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/ghc-data-default-instances-containers.spec b/ghc-data-default-instances-containers.spec
index e2eba6d..4d50d00 100644
--- a/ghc-data-default-instances-containers.spec
+++ b/ghc-data-default-instances-containers.spec
@@ -15,17 +15,31 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	1c574d87bf9bc69d4748e3236d575a3c
 URL:		http://hackage.haskell.org/package/data-default-instances-containers
 BuildRequires:	ghc >= 6.12.3
-%{?with_prof:BuildRequires:	ghc-prof >= 6.12.3}
+BuildRequires:	ghc-base >= 2
+BuildRequires:	ghc-base <5
+BuildRequires:	ghc-containers
 BuildRequires:	ghc-data-default-class
-%{?with_prof:BuildRequires:	ghc-data-default-class-prof}
+%if %{with prof}
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 2
+BuildRequires:	ghc-base-prof <5
+BuildRequires:	ghc-containers-prof
+BuildRequires:	ghc-data-default-class-prof
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
+Requires:	ghc-base >= 2
+Requires:	ghc-base <5
+Requires:	ghc-containers
 Requires:	ghc-data-default-class
 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 module defines 'Default' instances for the types 'S.Set',
 'M.Map', 'IntMap', 'IntSet', 'Seq', and 'Tree'.
@@ -39,6 +53,9 @@ 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
+Requires:	ghc-containers-prof
 Requires:	ghc-data-default-class-prof
 
 %description prof
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-data-default-instances-containers.git/commitdiff/8e09331a83d4cf397d88b73b687ec6e6e2a148db



More information about the pld-cvs-commit mailing list