Hello community, here is the log from the commit of package ghc-zlib for openSUSE:Factory checked in at 2019-08-29 17:23:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old) and /work/SRC/openSUSE:Factory/.ghc-zlib.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-zlib" Thu Aug 29 17:23:51 2019 rev:16 rq:726820 version:0.6.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes 2018-10-25 09:07:58.886446230 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.7948/ghc-zlib.changes 2019-08-29 17:23:52.095303993 +0200 @@ -1,0 +2,10 @@ +Tue Aug 27 02:01:52 UTC 2019 - [email protected] + +- Update zlib to version 0.6.2.1. + See also http://pvp.haskell.org/faq + + 0.6.2.1 Herbert Valerio Riedel <[email protected]> August 2019 + + * Add support for GHC 8.8 / base-4.13 + +------------------------------------------------------------------- Old: ---- zlib-0.6.2.tar.gz New: ---- zlib-0.6.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-zlib.spec ++++++ --- /var/tmp/diff_new_pack.3bqk5Y/_old 2019-08-29 17:23:52.671303896 +0200 +++ /var/tmp/diff_new_pack.3bqk5Y/_new 2019-08-29 17:23:52.675303896 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-zlib # -# 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 zlib %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.2 +Version: 0.6.2.1 Release: 0 Summary: Compression and decompression in the gzip and zlib formats License: BSD-2-Clause ++++++ zlib-0.6.2.tar.gz -> zlib-0.6.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc new/zlib-0.6.2.1/Codec/Compression/Zlib/Stream.hsc --- old/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc 2018-03-08 16:13:31.000000000 +0100 +++ new/zlib-0.6.2.1/Codec/Compression/Zlib/Stream.hsc 2001-09-09 03:46:40.000000000 +0200 @@ -123,6 +123,9 @@ import Control.Applicative (Applicative(..)) #endif import Control.Monad (ap,liftM) +#if MIN_VERSION_base(4,9,0) +import qualified Control.Monad.Fail as Fail +#endif #if __GLASGOW_HASKELL__ >= 702 #if __GLASGOW_HASKELL__ >= 708 import Control.Monad.ST.Strict @@ -373,8 +376,21 @@ (>>=) = thenZ -- m >>= f = (m `thenZ` \a -> consistencyCheck `thenZ_` returnZ a) `thenZ` f (>>) = (*>) + +#if !MIN_VERSION_base(4,8,0) return = pure +#endif + +#if !MIN_VERSION_base(4,9,0) fail = (finalise >>) . failZ +#elif !MIN_VERSION_base(4,13,0) + fail = Fail.fail +#endif + +#if MIN_VERSION_base(4,9,0) +instance Fail.MonadFail Stream where + fail = (finalise >>) . failZ +#endif returnZ :: a -> Stream a returnZ a = Z $ \_ inBuf outBuf outOffset outLength -> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-0.6.2/changelog new/zlib-0.6.2.1/changelog --- old/zlib-0.6.2/changelog 2018-03-08 16:13:31.000000000 +0100 +++ new/zlib-0.6.2.1/changelog 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,9 @@ +See also http://pvp.haskell.org/faq + +0.6.2.1 Herbert Valerio Riedel <[email protected]> August 2019 + + * Add support for GHC 8.8 / base-4.13 + 0.6.2 Herbert Valerio Riedel <[email protected]> March 2018 * New cabal flag 'pkg-config' for discovering 'zlib` via pkg-config(1) (#16) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zlib-0.6.2/zlib.cabal new/zlib-0.6.2.1/zlib.cabal --- old/zlib-0.6.2/zlib.cabal 2018-03-08 16:13:31.000000000 +0100 +++ new/zlib-0.6.2.1/zlib.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,7 @@ +cabal-version: >= 1.10 name: zlib -version: 0.6.2 +version: 0.6.2.1 + copyright: (c) 2006-2016 Duncan Coutts license: BSD3 license-file: LICENSE @@ -19,8 +21,7 @@ tasks and for the few cases where more control is needed it provides access to the full zlib feature set. build-type: Simple -cabal-version: >= 1.10 -tested-with: GHC ==7.0.4, GHC ==7.2.2, GHC ==7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC==8.0.2, GHC ==8.2.2, GHC ==8.4.1 +tested-with: GHC ==7.0.4, GHC ==7.2.2, GHC ==7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC==8.0.2, GHC ==8.2.2, GHC ==8.4.4, GHC==8.6.4 extra-source-files: changelog -- zlib C sources (for Windows) @@ -67,8 +68,8 @@ other-extensions: DeriveGeneric if impl(ghc >= 7.6) other-extensions: CApiFFI - build-depends: base >= 4 && < 5, - bytestring >= 0.9 && < 0.12 + build-depends: base >= 4 && < 4.14, + bytestring >= 0.9 && < 0.11 if impl(ghc >= 7.2 && < 7.6) build-depends: ghc-prim includes: zlib.h @@ -103,7 +104,7 @@ default-language: Haskell2010 build-depends: base, bytestring, zlib, QuickCheck == 2.*, - tasty >= 0.8 && < 0.12, - tasty-quickcheck == 0.8.*, - tasty-hunit >= 0.8 && < 0.10 + tasty >= 0.8 && < 1.3, + tasty-quickcheck >= 0.8 && < 0.11, + tasty-hunit >= 0.8 && < 0.11 ghc-options: -Wall
