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

qboosh qboosh at pld-linux.org
Sun Dec 15 18:23:45 CET 2013


commit 8ad8fbb043d43dbab4c75c045294dbf4b7134a19
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 15 18:25:27 2013 +0100

    - complete ghc dependencies list, noautocompressdoc *.haddock

 ghc-parsec.spec | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/ghc-parsec.spec b/ghc-parsec.spec
index e74c596..e566488 100644
--- a/ghc-parsec.spec
+++ b/ghc-parsec.spec
@@ -15,22 +15,37 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	22fe2b1ebaad74ae3d00d066c3046314
 URL:		http://hackage.haskell.org/package/parsec
 BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc-base >= 3.0.3
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring
 BuildRequires:	ghc-mtl
 BuildRequires:	ghc-text >= 0.2
+BuildRequires:	ghc-text < 1.1
 %if %{with prof}
 BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 3.0.3
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-bytestring-prof
 BuildRequires:	ghc-mtl-prof
 BuildRequires:	ghc-text-prof >= 0.2
+BuildRequires:	ghc-text-prof < 1.1
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
+Requires:	ghc-base >= 3.0.3
+Requires:	ghc-base < 5
+Requires:	ghc-bytestring
 Requires:	ghc-mtl
 Requires:	ghc-text >= 0.2
+Requires:	ghc-text < 1.1
 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
 Parsec is designed from scratch as an industrial-strength parser
 library. It is simple, safe, well documented (on the package
@@ -52,8 +67,12 @@ 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.0.3
+Requires:	ghc-base-prof < 5
+Requires:	ghc-bytestring-prof
 Requires:	ghc-mtl-prof
 Requires:	ghc-text-prof >= 0.2
+Requires:	ghc-text-prof < 1.1
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-parsec.git/commitdiff/8ad8fbb043d43dbab4c75c045294dbf4b7134a19



More information about the pld-cvs-commit mailing list