[DHG_packages] 01/01: servant-server: patch to build with hspec-wai 0.8. closes: #869145

Clint Adams clint at moszumanska.debian.org
Thu Jul 20 22:50:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit 47e6366a40adec4c7b5354fb789f97355de9bedd
Author: Clint Adams <clint at debian.org>
Date:   Thu Jul 20 18:49:51 2017 -0400

    servant-server: patch to build with hspec-wai 0.8.  closes: #869145
---
 p/haskell-servant-server/debian/changelog             |  6 ++++++
 p/haskell-servant-server/debian/patches/hspec-wai-0.8 | 16 ++++++++++++++++
 p/haskell-servant-server/debian/patches/series        |  1 +
 3 files changed, 23 insertions(+)

diff --git a/p/haskell-servant-server/debian/changelog b/p/haskell-servant-server/debian/changelog
index 80972dc..c762bb1 100644
--- a/p/haskell-servant-server/debian/changelog
+++ b/p/haskell-servant-server/debian/changelog
@@ -1,3 +1,9 @@
+haskell-servant-server (0.9.1.1-2) unstable; urgency=medium
+
+  * Patch to build with hspec-wai 0.8.  closes: #869145.
+
+ -- Clint Adams <clint at debian.org>  Thu, 20 Jul 2017 18:47:48 -0400
+
 haskell-servant-server (0.9.1.1-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/p/haskell-servant-server/debian/patches/hspec-wai-0.8 b/p/haskell-servant-server/debian/patches/hspec-wai-0.8
new file mode 100644
index 0000000..951b554
--- /dev/null
+++ b/p/haskell-servant-server/debian/patches/hspec-wai-0.8
@@ -0,0 +1,16 @@
+--- a/test/Servant/Server/ErrorSpec.hs
++++ b/test/Servant/Server/ErrorSpec.hs
+@@ -211,11 +211,11 @@
+ 
+   it "should continue when URLs don't match" $ do
+     request methodPost "" [jsonCT, jsonAccept] jsonBody
+-     `shouldRespondWith` 200 { matchBody = Just $ encode (8 :: Int) }
++     `shouldRespondWith` 200 { matchBody = mkBody $ encode (8 :: Int) }
+ 
+   it "should continue when methods don't match" $ do
+     request methodGet "a" [jsonCT, jsonAccept] jsonBody
+-     `shouldRespondWith` 200 { matchBody = Just $ encode (4 :: Int) }
++     `shouldRespondWith` 200 { matchBody = mkBody $ encode (4 :: Int) }
+ 
+ -- }}}
+ ------------------------------------------------------------------------------
diff --git a/p/haskell-servant-server/debian/patches/series b/p/haskell-servant-server/debian/patches/series
new file mode 100644
index 0000000..a4cbebb
--- /dev/null
+++ b/p/haskell-servant-server/debian/patches/series
@@ -0,0 +1 @@
+hspec-wai-0.8

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list