]> git.pld-linux.org Git - packages/ghc-random.git/commitdiff
- complete ghc dependencies list
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:28:00 +0000 (18:28 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:28:00 +0000 (18:28 +0100)
ghc-random.spec

index 3ff27dbf37fa65fe72c60dd98aff45ae9215a39d..0b66e09da0acea0d719f7f574fa04fb541b42429 100644 (file)
@@ -15,16 +15,27 @@ Source0:    http://hackage.haskell.org/package/random-%{version}/%{pkgname}-%{versi
 # Source0-md5: 9a249cfa7ff6793cbf2be06e9fcd7538
 URL:           http://hackage.haskell.org/package/random/
 BuildRequires: ghc >= 6.12.3
-%{?with_prof:BuildRequires:    ghc-prof >= 6.12.3}
+BuildRequires: ghc-base >= 3
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-time
+%if %{with prof}
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-base-prof >= 3
+BuildRequires: ghc-base-prof < 5
+BuildRequires: ghc-time-prof
+%endif
 BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
+Requires:      ghc-base >= 3
+Requires:      ghc-base < 5
+Requires:      ghc-time
 Obsoletes:     ghc-random-doc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
 %define                _enable_debug_packages  0
 
-# don't compress haddoc files
+# don't compress haddock files
 %define                _noautocompressdoc      *.haddock
 
 %description
@@ -38,6 +49,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 >= 3
+Requires:      ghc-base-prof < 5
+Requires:      ghc-time-prof
 
 %description prof
 Profiling %{pkgname} library for GHC.  Should be installed when
This page took 0.059472 seconds and 4 git commands to generate.