Hello community, here is the log from the commit of package ghc-streaming-commons for openSUSE:Factory checked in at 2020-08-10 14:55:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-streaming-commons (Old) and /work/SRC/openSUSE:Factory/.ghc-streaming-commons.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-streaming-commons" Mon Aug 10 14:55:44 2020 rev:21 rq:824315 version:0.2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-streaming-commons/ghc-streaming-commons.changes 2020-06-19 17:18:49.363123126 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-streaming-commons.new.3399/ghc-streaming-commons.changes 2020-08-10 14:55:58.799936561 +0200 @@ -1,0 +2,16 @@ +Tue Jul 21 08:27:35 UTC 2020 - psim...@suse.com + +- Update streaming-commons to version 0.2.2.1. + ## 0.2.2.1 + + * Fix test suite compilation issue [stackage#5528](https://github.com/commercialhaskell/stackage/issues/5528) + +------------------------------------------------------------------- +Mon Jul 20 02:00:58 UTC 2020 - psim...@suse.com + +- Update streaming-commons to version 0.2.2.0. + ## 0.2.2.0 + + * Remove `AI_ADDRCONFIG` [#58](https://github.com/fpco/streaming-commons/issues/58) + +------------------------------------------------------------------- Old: ---- streaming-commons-0.2.1.2.tar.gz New: ---- streaming-commons-0.2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-streaming-commons.spec ++++++ --- /var/tmp/diff_new_pack.XxHnDb/_old 2020-08-10 14:56:00.727937579 +0200 +++ /var/tmp/diff_new_pack.XxHnDb/_new 2020-08-10 14:56:00.731937581 +0200 @@ -19,7 +19,7 @@ %global pkg_name streaming-commons %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.1.2 +Version: 0.2.2.1 Release: 0 Summary: Common lower-level functions needed by various streaming data libraries License: MIT ++++++ streaming-commons-0.2.1.2.tar.gz -> streaming-commons-0.2.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-commons-0.2.1.2/ChangeLog.md new/streaming-commons-0.2.2.1/ChangeLog.md --- old/streaming-commons-0.2.1.2/ChangeLog.md 2020-01-05 13:26:59.000000000 +0100 +++ new/streaming-commons-0.2.2.1/ChangeLog.md 2020-07-19 18:22:26.000000000 +0200 @@ -1,5 +1,13 @@ # ChangeLog for streaming-commons +## 0.2.2.1 + +* Fix test suite compilation issue [stackage#5528](https://github.com/commercialhaskell/stackage/issues/5528) + +## 0.2.2.0 + +* Remove `AI_ADDRCONFIG` [#58](https://github.com/fpco/streaming-commons/issues/58) + ## 0.2.1.2 * Update `defaultReadBufferSize` to use system default instead of hardcoded value [#54](https://github.com/fpco/streaming-commons/issues/54) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-commons-0.2.1.2/Data/Streaming/Network.hs new/streaming-commons-0.2.2.1/Data/Streaming/Network.hs --- old/streaming-commons-0.2.1.2/Data/Streaming/Network.hs 2020-01-05 13:26:59.000000000 +0100 +++ new/streaming-commons-0.2.2.1/Data/Streaming/Network.hs 2020-07-19 14:52:10.000000000 +0200 @@ -120,8 +120,7 @@ NS.getAddrInfo (Just hints) (Just host') (Just $ show port') where hints = NS.defaultHints { - NS.addrFlags = [NS.AI_ADDRCONFIG] - , NS.addrSocketType = sockettype + NS.addrSocketType = sockettype , NS.addrFamily = af } @@ -157,9 +156,7 @@ bindPortGenEx :: [(NS.SocketOption, Int)] -> SocketType -> Int -> HostPreference -> IO Socket bindPortGenEx sockOpts sockettype p s = do let hints = NS.defaultHints - { NS.addrFlags = [ NS.AI_PASSIVE - , NS.AI_ADDRCONFIG - ] + { NS.addrFlags = [NS.AI_PASSIVE] , NS.addrSocketType = sockettype } host = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-commons-0.2.1.2/Data/Streaming/Process.hs new/streaming-commons-0.2.2.1/Data/Streaming/Process.hs --- old/streaming-commons-0.2.1.2/Data/Streaming/Process.hs 2018-01-31 16:13:35.000000000 +0100 +++ new/streaming-commons-0.2.2.1/Data/Streaming/Process.hs 2020-07-19 14:43:33.000000000 +0200 @@ -79,6 +79,9 @@ -- | Close the stream with the child process. -- +-- You usually do not want to use this, as it will leave the corresponding file +-- descriptor unassigned and hence available for re-use in the child process. +-- -- Since 0.1.4 data ClosedStream = ClosedStream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-commons-0.2.1.2/streaming-commons.cabal new/streaming-commons-0.2.2.1/streaming-commons.cabal --- old/streaming-commons-0.2.1.2/streaming-commons.cabal 2020-01-05 13:26:59.000000000 +0100 +++ new/streaming-commons-0.2.2.1/streaming-commons.cabal 2020-07-19 18:22:31.000000000 +0200 @@ -1,5 +1,5 @@ name: streaming-commons -version: 0.2.1.2 +version: 0.2.2.1 synopsis: Common lower-level functions needed by various streaming data libraries description: Provides low-dependency functionality commonly needed by various streaming data libraries, such as conduit and pipes. homepage: https://github.com/fpco/streaming-commons @@ -10,7 +10,7 @@ -- copyright: category: Data build-type: Simple -cabal-version: >=1.8 +cabal-version: >=1.10 extra-source-files: test/filesystem/*.txt test/filesystem/bin/*.txt @@ -25,6 +25,7 @@ default: False library + default-language: Haskell2010 exposed-modules: Data.Streaming.ByteString.Builder Data.Streaming.ByteString.Builder.Buffer Data.Streaming.FileRead @@ -45,7 +46,7 @@ Data.Text.Internal.Encoding.Utf16 Data.Text.Internal.Encoding.Utf32 - build-depends: base >= 4.8 && < 5 + build-depends: base >= 4.9 && < 5 , array , async , bytestring @@ -77,6 +78,7 @@ build-depends: bytestring >= 0.10.2.0 test-suite test + default-language: Haskell2010 hs-source-dirs: test main-is: Spec.hs type: exitcode-stdio-1.0 @@ -113,6 +115,7 @@ build-depends: unix benchmark count-chars + default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench build-depends: base @@ -124,6 +127,7 @@ ghc-options: -Wall -O2 benchmark decode-memory-usage + default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench build-depends: base @@ -134,6 +138,7 @@ ghc-options: -Wall -O2 -with-rtsopts=-s benchmark builder-to-bytestring-io + default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: builder-to-bytestring-io.hs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-commons-0.2.1.2/test/Data/Streaming/ByteString/BuilderSpec.hs new/streaming-commons-0.2.2.1/test/Data/Streaming/ByteString/BuilderSpec.hs --- old/streaming-commons-0.2.1.2/test/Data/Streaming/ByteString/BuilderSpec.hs 2019-06-05 14:57:19.000000000 +0200 +++ new/streaming-commons-0.2.2.1/test/Data/Streaming/ByteString/BuilderSpec.hs 2020-07-19 18:20:56.000000000 +0200 @@ -107,16 +107,16 @@ builderSpec let prop_idempotent i bss' = do - let bss = mconcat (map (B.byteString . S.pack) bss') - ior <- newIORef [] - toByteStringIOWith 16 - (\s -> do let s' = S.copy s - s' `seq` modifyIORef ior (s' :)) - bss - chunks <- readIORef ior - let have = L.unpack (L.fromChunks (reverse chunks)) - want = L.unpack (B.toLazyByteString bss) - (i, have) `shouldBe` (i, want) + let bss = mconcat (map (B.byteString . S.pack) bss') + ior <- newIORef [] + toByteStringIOWith 16 + (\s -> do let s' = S.copy s + s' `seq` modifyIORef ior (s' :)) + bss + chunks <- readIORef ior + let have = L.unpack (L.fromChunks (reverse chunks)) + want = L.unpack (B.toLazyByteString bss) + (i, have) `shouldBe` (i, want) prop "toByteStringIO idempotent to toLazyByteString" (prop_idempotent (0::Int))