Hello community, here is the log from the commit of package ghc-conduit-extra for openSUSE:Factory checked in at 2019-02-24 17:18:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-conduit-extra (Old) and /work/SRC/openSUSE:Factory/.ghc-conduit-extra.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-conduit-extra" Sun Feb 24 17:18:34 2019 rev:18 rq:678026 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-conduit-extra/ghc-conduit-extra.changes 2018-10-25 08:23:37.943876448 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-conduit-extra.new.28833/ghc-conduit-extra.changes 2019-02-24 17:18:35.360416469 +0100 @@ -1,0 +2,8 @@ +Tue Feb 19 10:28:17 UTC 2019 - [email protected] + +- Update conduit-extra to version 1.3.1. + ## 1.3.1 + + * Switched `gzip` to use zlib's default compression level. + +------------------------------------------------------------------- Old: ---- conduit-extra-1.3.0.tar.gz New: ---- conduit-extra-1.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-conduit-extra.spec ++++++ --- /var/tmp/diff_new_pack.SGOf6C/_old 2019-02-24 17:18:36.340416294 +0100 +++ /var/tmp/diff_new_pack.SGOf6C/_new 2019-02-24 17:18:36.344416294 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-conduit-extra # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 conduit-extra %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: Batteries included conduit: adapters for common libraries License: MIT ++++++ conduit-extra-1.3.0.tar.gz -> conduit-extra-1.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-extra-1.3.0/ChangeLog.md new/conduit-extra-1.3.1/ChangeLog.md --- old/conduit-extra-1.3.0/ChangeLog.md 2018-01-18 08:27:41.000000000 +0100 +++ new/conduit-extra-1.3.1/ChangeLog.md 2019-02-19 03:05:30.000000000 +0100 @@ -1,3 +1,7 @@ +## 1.3.1 + +* Switched `gzip` to use zlib's default compression level. + ## 1.3.0 * Switch over to unliftio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-extra-1.3.0/Data/Conduit/Zlib.hs new/conduit-extra-1.3.1/Data/Conduit/Zlib.hs --- old/conduit-extra-1.3.0/Data/Conduit/Zlib.hs 2018-01-18 08:27:41.000000000 +0100 +++ new/conduit-extra-1.3.1/Data/Conduit/Zlib.hs 2019-02-19 03:05:30.000000000 +0100 @@ -26,7 +26,7 @@ -- | Gzip compression with default parameters. gzip :: (MonadThrow m, PrimMonad m) => ConduitT ByteString ByteString m () -gzip = compress 1 (WindowBits 31) +gzip = compress (-1) (WindowBits 31) -- | Gzip decompression with default parameters. ungzip :: (PrimMonad m, MonadThrow m) => ConduitT ByteString ByteString m () diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-extra-1.3.0/conduit-extra.cabal new/conduit-extra-1.3.1/conduit-extra.cabal --- old/conduit-extra-1.3.0/conduit-extra.cabal 2018-01-18 08:27:41.000000000 +0100 +++ new/conduit-extra-1.3.1/conduit-extra.cabal 2019-02-19 03:05:30.000000000 +0100 @@ -1,5 +1,5 @@ Name: conduit-extra -Version: 1.3.0 +Version: 1.3.1 Synopsis: Batteries included conduit: adapters for common libraries. Description: The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit. @@ -85,6 +85,7 @@ , transformers , transformers-base , directory + , filepath ghc-options: -Wall if os(windows) cpp-options: -DWINDOWS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-extra-1.3.0/test/Data/Conduit/FilesystemSpec.hs new/conduit-extra-1.3.1/test/Data/Conduit/FilesystemSpec.hs --- old/conduit-extra-1.3.0/test/Data/Conduit/FilesystemSpec.hs 2018-01-18 08:27:41.000000000 +0100 +++ new/conduit-extra-1.3.1/test/Data/Conduit/FilesystemSpec.hs 2018-05-15 10:09:32.000000000 +0200 @@ -5,33 +5,34 @@ import qualified Data.Conduit.List as CL import Data.Conduit.Filesystem import Data.List (sort, isSuffixOf) +import System.FilePath ((</>)) spec :: Spec spec = describe "Data.Conduit.Filesystem" $ do it "sourceDirectory" $ do res <- runConduitRes - $ sourceDirectory "test/filesystem" + $ sourceDirectory ("test" </> "filesystem") .| CL.filter (not . (".swp" `isSuffixOf`)) .| CL.consume sort res `shouldBe` - [ "test/filesystem/bar.txt" - , "test/filesystem/baz.txt" - , "test/filesystem/bin" - , "test/filesystem/foo.txt" + [ "test" </> "filesystem" </> "bar.txt" + , "test" </> "filesystem" </> "baz.txt" + , "test" </> "filesystem" </> "bin" + , "test" </> "filesystem" </> "foo.txt" ] it "sourceDirectoryDeep" $ do res1 <- runConduitRes - $ sourceDirectoryDeep False "test/filesystem" + $ sourceDirectoryDeep False ("test" </> "filesystem") .| CL.filter (not . (".swp" `isSuffixOf`)) .| CL.consume res2 <- runConduitRes - $ sourceDirectoryDeep True "test/filesystem" + $ sourceDirectoryDeep True ("test" </> "filesystem") .| CL.filter (not . (".swp" `isSuffixOf`)) .| CL.consume sort res1 `shouldBe` - [ "test/filesystem/bar.txt" - , "test/filesystem/baz.txt" - , "test/filesystem/bin/bin.txt" - , "test/filesystem/foo.txt" + [ "test" </> "filesystem" </> "bar.txt" + , "test" </> "filesystem" </> "baz.txt" + , "test" </> "filesystem" </> "bin" </> "bin.txt" + , "test" </> "filesystem" </> "foo.txt" ] sort res1 `shouldBe` sort res2
