[packages/ghc-libmpd] - up to 0.9.1.0
baggins
baggins at pld-linux.org
Wed May 27 00:22:07 CEST 2020
commit 58c83269dea5b4b2c3d56d25def9786301d019d3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed May 27 00:21:50 2020 +0200
- up to 0.9.1.0
ghc-8.10.patch | 18 ++++++++++++++++++
ghc-libmpd.spec | 34 ++++++++++++++++++++++++----------
2 files changed, 42 insertions(+), 10 deletions(-)
---
diff --git a/ghc-libmpd.spec b/ghc-libmpd.spec
index 6f325a0..f8b9056 100644
--- a/ghc-libmpd.spec
+++ b/ghc-libmpd.spec
@@ -1,29 +1,42 @@
%define pkgname libmpd
Summary: A Haskell binding to the libmpd graphics library
Name: ghc-%{pkgname}
-Version: 0.9.0.6
+Version: 0.9.1.0
Release: 1
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: c33ebf0ef8e10d902579a2ec860e91fe
+# Source0-md5: 41a00cf7bc919d8ee3cdb7c21e5436a2
+Patch0: ghc-8.10.patch
URL: http://hackage.haskell.org/package/libmpd/
BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-mtl < 2.2
+BuildRequires: ghc-attoparsec >= 0.10.1
+BuildRequires: ghc-base >= 4.9
+BuildRequires: ghc-bytestring >= 0.9
+BuildRequires: ghc-containers >= 0.3
+BuildRequires: ghc-data-default-class >= 0.0.1
+BuildRequires: ghc-filepath >= 1
BuildRequires: ghc-mtl >= 2.0
-BuildRequires: ghc-network < 2.5
-BuildRequires: ghc-network >= 2.1
+BuildRequires: ghc-network >= 2.6.3.5
+BuildRequires: ghc-safe-exceptions >= 0.1
+BuildRequires: ghc-safe-exceptions >= 0.1
BuildRequires: ghc-text >= 0.11
-BuildRequires: ghc-utf8-string < 0.4
+BuildRequires: ghc-time >= 1.5
BuildRequires: ghc-utf8-string >= 0.3.1
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
-Requires: ghc-mtl < 2.2
+Requires: ghc-attoparsec >= 0.10.1
+Requires: ghc-base >= 4.9
+Requires: ghc-bytestring >= 0.9
+Requires: ghc-containers >= 0.3
+Requires: ghc-data-default-class >= 0.0.1
+Requires: ghc-filepath >= 1
Requires: ghc-mtl >= 2.0
-Requires: ghc-network < 2.5
-Requires: ghc-network >= 2.1
+Requires: ghc-network >= 2.6.3.5
+Requires: ghc-safe-exceptions >= 0.1
+Requires: ghc-safe-exceptions >= 0.1
Requires: ghc-text >= 0.11
-Requires: ghc-utf8-string < 0.4
+Requires: ghc-time >= 1.5
Requires: ghc-utf8-string >= 0.3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,6 +59,7 @@ Dokumentacja w formacie HTML dla %{pkgname}.
%prep
%setup -q -n %{pkgname}-%{version}
+%patch0 -p1
%build
runhaskell Setup.lhs configure -v2 \
diff --git a/ghc-8.10.patch b/ghc-8.10.patch
new file mode 100644
index 0000000..d3c8bc0
--- /dev/null
+++ b/ghc-8.10.patch
@@ -0,0 +1,18 @@
+--- libmpd-0.9.1.0/libmpd.cabal~ 2020-01-27 07:10:31.000000000 +0100
++++ libmpd-0.9.1.0/libmpd.cabal 2020-05-27 00:20:31.429246130 +0200
+@@ -45,7 +45,6 @@
+ , containers >= 0.3 && < 1
+ , filepath >= 1 && < 2
+ , mtl >= 2.0 && < 3
+- , old-locale >= 1 && < 2
+ , text >= 0.11 && < 2
+
+ -- Additional dependencies
+@@ -121,7 +120,6 @@
+ , containers
+ , filepath
+ , mtl
+- , old-locale
+ , text
+ , time
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-libmpd.git/commitdiff/58c83269dea5b4b2c3d56d25def9786301d019d3
More information about the pld-cvs-commit
mailing list