Hello community,
here is the log from the commit of package ghc-http-client-openssl for
openSUSE:Factory checked in at 2017-05-10 20:49:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-client-openssl (Old)
and /work/SRC/openSUSE:Factory/.ghc-http-client-openssl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-client-openssl"
Wed May 10 20:49:31 2017 rev:3 rq:491475 version:0.2.0.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-http-client-openssl/ghc-http-client-openssl.changes
2016-10-22 13:20:24.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-http-client-openssl.new/ghc-http-client-openssl.changes
2017-05-10 20:49:32.427119775 +0200
@@ -1,0 +2,5 @@
+Sun Apr 9 18:08:05 UTC 2017 - [email protected]
+
+- Update to version 0.2.0.5 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
http-client-openssl-0.2.0.4.tar.gz
New:
----
http-client-openssl-0.2.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-http-client-openssl.spec ++++++
--- /var/tmp/diff_new_pack.yAixhN/_old 2017-05-10 20:49:33.183013112 +0200
+++ /var/tmp/diff_new_pack.yAixhN/_new 2017-05-10 20:49:33.187012548 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-http-client-openssl
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name http-client-openssl
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.0.4
+Version: 0.2.0.5
Release: 0
Summary: Http-client backend using the OpenSSL library
License: MIT
++++++ http-client-openssl-0.2.0.4.tar.gz -> http-client-openssl-0.2.0.5.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-openssl-0.2.0.4/ChangeLog.md
new/http-client-openssl-0.2.0.5/ChangeLog.md
--- old/http-client-openssl-0.2.0.4/ChangeLog.md 2016-09-14
17:23:11.000000000 +0200
+++ new/http-client-openssl-0.2.0.5/ChangeLog.md 2017-04-07
12:37:18.000000000 +0200
@@ -1,3 +1,7 @@
+## 0.2.0.5
+
+* Use different domain name so tests pass
+
## 0.2.0.4
* Minor doc updates
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/http-client-openssl-0.2.0.4/Network/HTTP/Client/OpenSSL.hs
new/http-client-openssl-0.2.0.5/Network/HTTP/Client/OpenSSL.hs
--- old/http-client-openssl-0.2.0.4/Network/HTTP/Client/OpenSSL.hs
2016-09-14 17:23:11.000000000 +0200
+++ new/http-client-openssl-0.2.0.5/Network/HTTP/Client/OpenSSL.hs
2017-04-07 12:37:18.000000000 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE ScopedTypeVariables #-}
-- | Support for making connections via the OpenSSL library.
module Network.HTTP.Client.OpenSSL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/http-client-openssl-0.2.0.4/http-client-openssl.cabal
new/http-client-openssl-0.2.0.5/http-client-openssl.cabal
--- old/http-client-openssl-0.2.0.4/http-client-openssl.cabal 2016-09-14
17:23:11.000000000 +0200
+++ new/http-client-openssl-0.2.0.5/http-client-openssl.cabal 2017-04-07
12:37:18.000000000 +0200
@@ -1,5 +1,5 @@
name: http-client-openssl
-version: 0.2.0.4
+version: 0.2.0.5
synopsis: http-client backend using the OpenSSL library.
description: Hackage documentation generation is not reliable. For up
to date documentation, please see:
<http://www.stackage.org/package/http-client>.
homepage: https://github.com/snoyberg/http-client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-openssl-0.2.0.4/test/Spec.hs
new/http-client-openssl-0.2.0.5/test/Spec.hs
--- old/http-client-openssl-0.2.0.4/test/Spec.hs 2016-09-14
17:23:11.000000000 +0200
+++ new/http-client-openssl-0.2.0.5/test/Spec.hs 2017-04-07
12:37:18.000000000 +0200
@@ -10,5 +10,6 @@
main = withOpenSSL $ hspec $ do
it "make a TLS connection" $ do
manager <- newManager $ opensslManagerSettings SSL.context
- withResponse (parseRequest_ "https://httpbin.org/status/418") manager
$ \res ->
- responseStatus res `shouldBe` status418
+ withResponse (parseRequest_ "HEAD
https://s3.amazonaws.com/hackage.fpcomplete.com/01-index.tar.gz") manager $
\res -> do
+ responseStatus res `shouldBe` status200
+ lookup "content-type" (responseHeaders res) `shouldBe` Just
"application/x-gzip"