allow building with mtl-2.1

This commit is contained in:
Jens Petersen 2012-06-09 23:11:57 +09:00
parent 3670f4818a
commit 1971d2245b
2 changed files with 18 additions and 1 deletions

View File

@ -10,7 +10,7 @@
Name: ghc-%{pkg_name}
Version: 0.7.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -26,6 +26,7 @@ BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-utf8-string-prof
Patch1: libmpd-0.7.2-mtl-2.1.patch
%description
%{common_description}
@ -33,6 +34,7 @@ BuildRequires: ghc-utf8-string-prof
%prep
%setup -q -n %{pkg_name}-%{version}
%patch1 -p1 -b .orig
%build
@ -56,6 +58,9 @@ BuildRequires: ghc-utf8-string-prof
%changelog
* Sat Jun 9 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-3
- allow building with mtl-2.1
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-2
- add license to ghc_files

View File

@ -0,0 +1,12 @@
diff -u libmpd-0.7.2/libmpd.cabal\~ libmpd-0.7.2/libmpd.cabal
--- libmpd-0.7.2/libmpd.cabal~ 2012-03-03 22:52:00.256845067 +0900
+++ libmpd-0.7.2/libmpd.cabal 2012-06-09 23:09:37.157397579 +0900
@@ -35,7 +35,7 @@
Library
Build-Depends: base >= 4 && < 5,
- mtl >= 2.0 && < 2.1,
+ mtl >= 2.0 && < 2.2,
network >= 2.1 && < 2.4,
filepath >= 1.0 && < 1.4,
utf8-string >= 0.3.1 && < 0.4,