[packages/ghc-zlib] - complete ghc dependencies list, noautocompressdoc *.haddock
qboosh
qboosh at pld-linux.org
Sun Dec 15 18:36:46 CET 2013
commit 2fcc503712485bb363e8ddda6bee8b0ccd5dce35
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 15 18:38:28 2013 +0100
- complete ghc dependencies list, noautocompressdoc *.haddock
ghc-zlib.spec | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/ghc-zlib.spec b/ghc-zlib.spec
index 2cf23a5..4c46d35 100644
--- a/ghc-zlib.spec
+++ b/ghc-zlib.spec
@@ -15,14 +15,31 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
# Source0-md5: d0d10786d2bbd1d401a8b28a83e88475
URL: http://hackage.haskell.org/package/zlib
BuildRequires: ghc >= 6.12.3
-%{?with_prof:BuildRequires: ghc-prof >= 6.12.3}
+BuildRequires: ghc-base >= 3
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-bytestring >= 0.9
+BuildRequires: ghc-bytestring < 0.12
+%if %{with prof}
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-base-prof >= 3
+BuildRequires: ghc-base-prof < 5
+BuildRequires: ghc-bytestring-prof >= 0.9
+BuildRequires: ghc-bytestring-prof < 0.12
+%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
+Requires: ghc-base >= 3
+Requires: ghc-base < 5
+Requires: ghc-bytestring >= 0.9
+Requires: ghc-bytestring < 0.12
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 provides a pure interface for compressing and
decompressing streams of data represented as lazy 'ByteString's. It
@@ -48,6 +65,10 @@ 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 >= 3
+Requires: ghc-base-prof < 5
+Requires: ghc-bytestring-prof >= 0.9
+Requires: ghc-bytestring-prof < 0.12
%description prof
Profiling %{pkgname} library for GHC. Should be installed when
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-zlib.git/commitdiff/2fcc503712485bb363e8ddda6bee8b0ccd5dce35
More information about the pld-cvs-commit
mailing list