[packages/ghc-primitive] - complete ghc dependencies list

qboosh qboosh at pld-linux.org
Sun Dec 15 18:25:16 CET 2013


commit 6489c1ee66a77014f7f4413c00a06d60c65d560e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 15 18:26:54 2013 +0100

    - complete ghc dependencies list

 ghc-primitive.spec | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/ghc-primitive.spec b/ghc-primitive.spec
index 3fe898b..2d1f93d 100644
--- a/ghc-primitive.spec
+++ b/ghc-primitive.spec
@@ -15,9 +15,20 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	33090fc61ce0194cb5a595f53bd5c064
 URL:		http://hackage.haskell.org/package/primitive
 BuildRequires:	ghc >= 6.12.3
-%{?with_prof:BuildRequires:	ghc-prof >= 6.12.3}
+BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-ghc-prim
+%if %{with prof}
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-ghc-prim-prof
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
+Requires:	ghc-base >= 4
+Requires:	ghc-base < 5
+Requires:	ghc-ghc-prim
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -37,6 +48,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 >= 4
+Requires:	ghc-base-prof < 5
+Requires:	ghc-ghc-prim-prof
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-primitive.git/commitdiff/6489c1ee66a77014f7f4413c00a06d60c65d560e



More information about the pld-cvs-commit mailing list