commit ghc-http-client for openSUSE:Leap:15.2

2020-05-21 Thread root
Hello community,

here is the log from the commit of package ghc-http-client for 
openSUSE:Leap:15.2 checked in at 2020-05-21 12:58:03

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-http-client (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-http-client.new.2738 (New)


Package is "ghc-http-client"

Thu May 21 12:58:03 2020 rev:13 rq:802862 version:0.6.4.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-http-client/ghc-http-client.changes
2020-02-19 18:39:29.286063382 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-http-client.new.2738/ghc-http-client.changes  
2020-05-21 12:58:04.142629065 +0200
@@ -1,0 +2,8 @@
+Wed May  6 06:54:13 UTC 2020 - psim...@suse.com
+
+- Update http-client to version 0.6.4.1.
+  ## 0.6.4.1
+
+  * Win32 2.8 support [#430](https://github.com/snoyberg/http-client/pull/430)
+
+---

Old:

  http-client-0.6.4.tar.gz

New:

  http-client-0.6.4.1.tar.gz



Other differences:
--
++ ghc-http-client.spec ++
--- /var/tmp/diff_new_pack.iBBInF/_old  2020-05-21 12:58:04.518629885 +0200
+++ /var/tmp/diff_new_pack.iBBInF/_new  2020-05-21 12:58:04.518629885 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.4
+Version:0.6.4.1
 Release:0
 Summary:An HTTP client engine
 License:MIT

++ http-client-0.6.4.tar.gz -> http-client-0.6.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.4/ChangeLog.md 
new/http-client-0.6.4.1/ChangeLog.md
--- old/http-client-0.6.4/ChangeLog.md  2019-04-12 07:51:44.0 +0200
+++ new/http-client-0.6.4.1/ChangeLog.md2020-03-09 08:28:19.0 
+0100
@@ -1,5 +1,9 @@
 # Changelog for http-client
 
+## 0.6.4.1
+
+* Win32 2.8 support [#430](https://github.com/snoyberg/http-client/pull/430)
+
 ## 0.6.4
 
 * Avoid throwing an exception when a malformed HTTP header is received,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client/Body.hs 
new/http-client-0.6.4.1/Network/HTTP/Client/Body.hs
--- old/http-client-0.6.4/Network/HTTP/Client/Body.hs   2019-04-02 
15:24:20.0 +0200
+++ new/http-client-0.6.4.1/Network/HTTP/Client/Body.hs 2019-10-22 
12:59:44.0 +0200
@@ -22,7 +22,7 @@
 import Control.Monad (unless, when)
 import qualified Data.Streaming.Zlib as Z
 
--- ^ Get a single chunk of data from the response body, or an empty
+-- | Get a single chunk of data from the response body, or an empty
 -- bytestring if no more data is available.
 --
 -- Note that in order to consume the entire request body, you will need to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client/Types.hs 
new/http-client-0.6.4.1/Network/HTTP/Client/Types.hs
--- old/http-client-0.6.4/Network/HTTP/Client/Types.hs  2019-04-05 
16:28:05.0 +0200
+++ new/http-client-0.6.4.1/Network/HTTP/Client/Types.hs2019-10-22 
12:59:44.0 +0200
@@ -560,12 +560,13 @@
 }
 deriving T.Typeable
 
--- | How to deal with timing out a response
+-- | How to deal with timing out on retrieval of response headers.
 --
 -- @since 0.5.0
 data ResponseTimeout
 = ResponseTimeoutMicro !Int
--- ^ Wait the given number of microseconds and then throw an exception
+-- ^ Wait the given number of microseconds for response headers to
+-- load, then throw an exception
 | ResponseTimeoutNone
 -- ^ Wait indefinitely
 | ResponseTimeoutDefault
@@ -695,6 +696,9 @@
 , managerModifyRequest :: Request -> IO Request
 -- ^ Perform the given modification to a @Request@ before performing it.
 --
+-- This function may be called more than once during request processing.
+-- see https://github.com/snoyberg/http-client/issues/350
+--
 -- Default: no modification
 --
 -- Since 0.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client.hs 
new/http-client-0.6.4.1/Network/HTTP/Client.hs
--- old/http-client-0.6.4/Network/HTTP/Client.hs2019-02-27 
11:43:18.0 +0100
+++ new/http-client-0.6.4.1/Network/HTTP/Client.hs  2019-10-22 
12:59:44.0 +0200
@@ -352,7 +352,

commit ghc-http-client for openSUSE:Leap:15.2

2020-02-19 Thread root
Hello community,

here is the log from the commit of package ghc-http-client for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:39:28

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-http-client (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-http-client.new.26092 (New)


Package is "ghc-http-client"

Wed Feb 19 18:39:28 2020 rev:12 rq:771341 version:0.6.4

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-http-client/ghc-http-client.changes
2020-01-15 15:02:10.085802056 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-http-client.new.26092/ghc-http-client.changes 
2020-02-19 18:39:29.286063382 +0100
@@ -1,0 +2,34 @@
+Fri Nov  8 16:13:58 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Sat Apr 13 02:03:10 UTC 2019 - psim...@suse.com
+
+- Update http-client to version 0.6.4.
+  ## 0.6.4
+
+  * Avoid throwing an exception when a malformed HTTP header is received,
+to be as robust as commonly used HTTP clients.
+See [#398](https://github.com/snoyberg/http-client/issues/398)
+
+---
+Wed Apr  3 02:01:38 UTC 2019 - psim...@suse.com
+
+- Update http-client to version 0.6.3.
+  ## 0.6.3
+
+  * Detect response body termination before reading an extra null chunk
+when possible. This allows connections to be reused in some corner
+cases. See
+[#395](https://github.com/snoyberg/http-client/issues/395)
+
+---
+Thu Feb 28 03:01:36 UTC 2019 - psim...@suse.com
+
+- Update http-client to version 0.6.2.
+  ## 0.6.2
+
+  * Add `shouldStripHeaderOnRedirect` option to `Request` 
[#300](https://github.com/snoyberg/http-client/issues/300)
+
+---

Old:

  http-client-0.6.1.1.tar.gz

New:

  http-client-0.6.4.tar.gz



Other differences:
--
++ ghc-http-client.spec ++
--- /var/tmp/diff_new_pack.xctQL8/_old  2020-02-19 18:39:29.658063839 +0100
+++ /var/tmp/diff_new_pack.xctQL8/_new  2020-02-19 18:39:29.662063844 +0100
@@ -19,11 +19,10 @@
 %global pkg_name http-client
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.1.1
+Version:0.6.4
 Release:0
 Summary:An HTTP client engine
 License:MIT
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -62,7 +61,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++ http-client-0.6.1.1.tar.gz -> http-client-0.6.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.1.1/ChangeLog.md 
new/http-client-0.6.4/ChangeLog.md
--- old/http-client-0.6.1.1/ChangeLog.md2019-02-20 10:37:43.0 
+0100
+++ new/http-client-0.6.4/ChangeLog.md  2019-04-12 07:51:44.0 +0200
@@ -1,5 +1,22 @@
 # Changelog for http-client
 
+## 0.6.4
+
+* Avoid throwing an exception when a malformed HTTP header is received,
+  to be as robust as commonly used HTTP clients.
+  See [#398](https://github.com/snoyberg/http-client/issues/398)
+
+## 0.6.3
+
+* Detect response body termination before reading an extra null chunk
+  when possible. This allows connections to be reused in some corner
+  cases. See
+  [#395](https://github.com/snoyberg/http-client/issues/395)
+
+## 0.6.2
+
+* Add `shouldStripHeaderOnRedirect` option to `Request` 
[#300](https://github.com/snoyberg/http-client/issues/300)
+
 ## 0.6.1.1
 
 * Ensure that `Int` parsing doesn't overflow 
[#383](https://github.com/snoyberg/http-client/issues/383)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.6.1.1/Network/HTTP/Client/Body.hs 
new/http-client-0.6.4/Network/HTTP/Client/Body.hs
--- old/http-client-0.6.1.1/Network/HTTP/Client/Body.hs 2016-12-19 
16:30:12.0 +0100
+++ new/http-client-0.6.4/Network/HTTP/Client/Body.hs   2019-04-02 
15:24:20.0 +0200
@@ -8,7 +8,6 @@
 , brConsume
 , brEmpty
 , constBodyReader
-, brAddCleanup
 , brReadSome
 , brRead
 ) where
@@ -61,12 +60,6 @@
 [] -> ([], S.empty)
 x:xs -> (xs, x)
 
-brAddCleanup :: IO () -> BodyReader -> BodyReader
-brAddCleanup cleanup brRead' = do
-bs <- brRead'
-when (S.null bs