allow building with mtl-2.1
This commit is contained in:
parent
3670f4818a
commit
1971d2245b
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.7.2
|
Version: 0.7.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -26,6 +26,7 @@ BuildRequires: ghc-mtl-prof
|
|||||||
BuildRequires: ghc-network-prof
|
BuildRequires: ghc-network-prof
|
||||||
BuildRequires: ghc-time-prof
|
BuildRequires: ghc-time-prof
|
||||||
BuildRequires: ghc-utf8-string-prof
|
BuildRequires: ghc-utf8-string-prof
|
||||||
|
Patch1: libmpd-0.7.2-mtl-2.1.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
@ -33,6 +34,7 @@ BuildRequires: ghc-utf8-string-prof
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
%patch1 -p1 -b .orig
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -56,6 +58,9 @@ BuildRequires: ghc-utf8-string-prof
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-2
|
||||||
- add license to ghc_files
|
- add license to ghc_files
|
||||||
|
|
||||||
|
12
libmpd-0.7.2-mtl-2.1.patch
Normal file
12
libmpd-0.7.2-mtl-2.1.patch
Normal 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,
|
Loading…
Reference in New Issue
Block a user