]> git.pld-linux.org Git - packages/ghc-dlist.git/commitdiff
- complete ghc dependencies list, noautocompressdoc *.haddock auto/th/ghc-dlist-0.6.0.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:19:02 +0000 (18:19 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:19:02 +0000 (18:19 +0100)
ghc-dlist.spec

index 508dcb5a0466967e1cf9019b814bcfe74a59e665..c32f455a941a1a58720d952de61edd2517a76cd9 100644 (file)
@@ -15,14 +15,25 @@ Source0:    http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5: e491b9aed316a58061de4f7751f0216b
 URL:           http://hackage.haskell.org/package/dlist
 BuildRequires: ghc >= 6.12.3
-%{?with_prof:BuildRequires:    ghc-prof >= 6.12.3}
+BuildRequires: ghc-base >= 2
+BuildRequires: ghc-base < 5
+%if %{with prof}
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-base-prof >= 2
+BuildRequires: ghc-base-prof < 5
+%endif
 BuildRequires: rpmbuild(macros) >= 1.608
 %requires_eq   ghc
+Requires:      ghc-base >= 2
+Requires:      ghc-base < 5
 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
 Differences lists: a list-like type supporting O(1) append. This is
 particularly useful for efficient logging and pretty printing, (e.g.
@@ -40,6 +51,8 @@ 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
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
This page took 0.084029 seconds and 4 git commands to generate.