[ghc-libmpd] bump some core dependency versions for ghc7

Jens Petersen petersen at fedoraproject.org
Mon Nov 29 00:41:28 UTC 2010


commit ed1f98eb3fc7c9879b5f0c2bb651cf2a197a1b6a
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Nov 29 10:41:34 2010 +1000

    bump some core dependency versions for ghc7

 ghc-libmpd.spec         |    7 ++++++-
 libmpd-0.5.0-ghc7.patch |   17 +++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/ghc-libmpd.spec b/ghc-libmpd.spec
index 798a060..7105898 100644
--- a/ghc-libmpd.spec
+++ b/ghc-libmpd.spec
@@ -14,7 +14,7 @@
 
 Name:           ghc-%{pkg_name}
 Version:        0.5.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -31,6 +31,7 @@ BuildRequires:  hscolour
 %endif
 %{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
 %{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
+Patch1:         libmpd-0.5.0-ghc7.patch
 
 %description
 %{common_description}
@@ -41,6 +42,7 @@ This package provides the shared library.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+%patch1 -p1 -b .orig
 
 
 %build
@@ -63,6 +65,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Nov 29 2010 Jens Petersen <petersen at redhat.com> - 0.5.0-3
+- bump some core dependency versions for ghc7
+
 * Sun Nov 28 2010 Ben Boeckel <mathstuf at gmail.com> - 0.5.0-2
 - Rebuild for GHC7
 
diff --git a/libmpd-0.5.0-ghc7.patch b/libmpd-0.5.0-ghc7.patch
new file mode 100644
index 0000000..4c2dc85
--- /dev/null
+++ b/libmpd-0.5.0-ghc7.patch
@@ -0,0 +1,17 @@
+diff -u libmpd-0.5.0/libmpd.cabal\~ libmpd-0.5.0/libmpd.cabal
+--- libmpd-0.5.0/libmpd.cabal~	2010-09-08 23:47:02.000000000 +1000
++++ libmpd-0.5.0/libmpd.cabal	2010-11-29 10:32:14.000000000 +1000
+@@ -42,10 +42,10 @@
+         Build-Depends: base >= 4 && < 5
+ 
+     Build-Depends:      network >= 2.1 && < 2.3,
+-                        mtl >= 1.1 && < 1.2, filepath >= 1.0 && < 1.2,
++                        mtl >= 1.1 && < 2.1, filepath >= 1.0 && < 1.3,
+                         utf8-string >= 0.3.1 && < 0.4,
+-                        containers >= 0.3 && < 0.4,
+-                        time >= 1.1 && < 1.2,
++                        containers >= 0.3 && < 0.5,
++                        time >= 1.1 && < 1.3,
+                         old-locale >= 1.0 && < 1.1
+     Exposed-Modules:    Network.MPD, Network.MPD.Commands.Extensions,
+                         Network.MPD.Core


More information about the scm-commits mailing list