From dcc72714c48d3204d41d17a6436e2c1818131c3a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 17 Sep 2015 13:51:02 +0900 Subject: [PATCH] allow base 4.8 --- ghc-split.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/ghc-split.spec b/ghc-split.spec index bb544db..1d2080c 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2012.4+ Version: 0.2.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Combinator library for splitting lists License: BSD @@ -62,7 +62,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - +cabal-tweak-dep-ver base '<4.8' '<4.9' %build %ghc_lib_build @@ -71,9 +71,13 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check -%cabal_test +%if %{with tests} +%cabal test +%endif %post devel @@ -85,7 +89,7 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files @@ -93,6 +97,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Sep 17 2015 Jens Petersen - 0.2.2-7 +- allow base 4.8 + * Wed Jun 17 2015 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild