]> git.pld-linux.org Git - packages/ghc-extensible-exceptions.git/commitdiff
- complete ghc dependencies list, noautocompressdoc *.haddock
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:20:30 +0000 (18:20 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Dec 2013 17:20:30 +0000 (18:20 +0100)
ghc-extensible-exceptions.spec

index 2d6b198b6e0f6c11d97ea9c191e49f5d36b383e7..670cf2f9305ed9f0c8ba063c2547bfcf507c17ba 100644 (file)
@@ -15,14 +15,22 @@ Source0:    http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5: fa1cadd15c1c7aa362618d41c6e17d8b
 URL:           http://hackage.haskell.org/package/extensible-exceptions
 BuildRequires: ghc >= 6.12.3
-%{?with_prof:BuildRequires:    ghc-prof >= 6.12.3}
+BuildRequires: ghc-base < 5
+%if %{with prof}
+BuildRequires: ghc-prof >= 6.12.3
+BuildRequires: ghc-base-prof < 5
+%endif
 BuildRequires: rpmbuild(macros) >= 1.608
 %requires_eq   ghc
+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
 This package provides extensible exceptions for both new and old
 versions of GHC (i.e., < 6.10).
@@ -36,6 +44,7 @@ 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 < 5
 
 %description prof
 Profiling %{pkgname} library for GHC.  Should be installed when
This page took 0.088548 seconds and 4 git commands to generate.