Hello community, here is the log from the commit of package ghc-zlib for openSUSE:Leap:15.2 checked in at 2020-02-19 18:42:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/ghc-zlib (Old) and /work/SRC/openSUSE:Leap:15.2/.ghc-zlib.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-zlib" Wed Feb 19 18:42:27 2020 rev:13 rq:771544 version:0.6.2.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/ghc-zlib/ghc-zlib.changes 2020-01-15 15:02:46.753821184 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.ghc-zlib.new.26092/ghc-zlib.changes 2020-02-19 18:42:27.286318008 +0100 @@ -1,0 +2,15 @@ +Fri Nov 8 16:15:18 UTC 2019 - Peter Simons <[email protected]> + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +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.uUdkNE/_old 2020-02-19 18:42:27.810319106 +0100 +++ /var/tmp/diff_new_pack.uUdkNE/_new 2020-02-19 18:42:27.814319115 +0100 @@ -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,11 +19,10 @@ %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 -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 @@ -49,7 +48,6 @@ %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires: zlib-devel ++++++ 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
