Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-foldl for openSUSE:Factory checked in at 2021-03-10 08:54:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-foldl (Old) and /work/SRC/openSUSE:Factory/.ghc-foldl.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-foldl" Wed Mar 10 08:54:46 2021 rev:19 rq:877626 version:1.4.11 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-foldl/ghc-foldl.changes 2021-01-20 18:25:05.207384158 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-foldl.new.2378/ghc-foldl.changes 2021-03-10 08:56:47.442860210 +0100 @@ -1,0 +2,9 @@ +Thu Feb 25 23:48:33 UTC 2021 - psim...@suse.com + +- Update foldl to version 1.4.11. + 1.4.11 + + * Fix doctest failure when built against newer versions of the `hashable` + package + +------------------------------------------------------------------- Old: ---- foldl-1.4.10.tar.gz foldl.cabal New: ---- foldl-1.4.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-foldl.spec ++++++ --- /var/tmp/diff_new_pack.mR02uF/_old 2021-03-10 08:56:48.058860847 +0100 +++ /var/tmp/diff_new_pack.mR02uF/_new 2021-03-10 08:56:48.062860850 +0100 @@ -19,13 +19,12 @@ %global pkg_name foldl %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.10 +Version: 1.4.11 Release: 0 Summary: Composable, streaming, and efficient left folds License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-comonad-devel @@ -64,7 +63,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ foldl-1.4.10.tar.gz -> foldl-1.4.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/foldl-1.4.10/CHANGELOG.md new/foldl-1.4.11/CHANGELOG.md --- old/foldl-1.4.10/CHANGELOG.md 2020-11-02 21:20:22.000000000 +0100 +++ new/foldl-1.4.11/CHANGELOG.md 2021-02-25 06:27:30.000000000 +0100 @@ -1,3 +1,8 @@ +1.4.11 + +* Fix doctest failure when built against newer versions of the `hashable` + package + 1.4.10 * Fix space leaks in `scan` / `scanM` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/foldl-1.4.10/foldl.cabal new/foldl-1.4.11/foldl.cabal --- old/foldl-1.4.10/foldl.cabal 2020-11-02 21:20:22.000000000 +0100 +++ new/foldl-1.4.11/foldl.cabal 2021-02-25 06:27:30.000000000 +0100 @@ -1,5 +1,5 @@ Name: foldl -Version: 1.4.10 +Version: 1.4.11 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 @@ -25,7 +25,7 @@ HS-Source-Dirs: src Build-Depends: base >= 4.8 && < 5 , - bytestring >= 0.9.2.1 && < 0.11, + bytestring >= 0.9.2.1 && < 0.12, mwc-random >= 0.13.1.0 && < 0.16, primitive < 0.8 , text >= 0.11.2.0 && < 1.3 , diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/foldl-1.4.10/src/Control/Foldl.hs new/foldl-1.4.11/src/Control/Foldl.hs --- old/foldl-1.4.10/src/Control/Foldl.hs 2020-11-02 21:20:22.000000000 +0100 +++ new/foldl-1.4.11/src/Control/Foldl.hs 2021-02-25 06:27:30.000000000 +0100 @@ -978,8 +978,8 @@ {- | Given a 'Fold', produces a 'HashMap' which applies that fold to each @a@ separated by key @k@. ->>> fold (foldByKeyHashMap Control.Foldl.sum) [("a",1), ("b",2), ("b",20), ("a",10)] -fromList [("a",11),("b",22)] +>>> List.sort (HashMap.toList (fold (foldByKeyHashMap Control.Foldl.sum) [("a",1), ("b",2), ("b",20), ("a",10)])) +[("a",11),("b",22)] -} foldByKeyHashMap :: forall k a b. (Hashable k, Eq k) => Fold a b -> Fold (k, a) (HashMap k b) foldByKeyHashMap f = case f of