Hello community, here is the log from the commit of package ghc-dlist for openSUSE:Factory checked in at 2019-08-13 20:44:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-dlist (Old) and /work/SRC/openSUSE:Factory/.ghc-dlist.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-dlist" Tue Aug 13 20:44:45 2019 rev:14 rq:723076 version:0.8.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-dlist/ghc-dlist.changes 2019-06-19 21:12:02.158721262 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-dlist.new.9556/ghc-dlist.changes 2019-08-13 20:44:46.559053615 +0200 @@ -1,0 +2,14 @@ +Wed Aug 7 08:03:11 UTC 2019 - psim...@suse.com + +- Update dlist to version 0.8.0.7. + Version 0.8.0.7 (2019-08-05) *Independence Day in Burkina Faso* + --------------------------------------------------------------- + + #### Package changes + + * Add `MonadFail` instance for GHC >= 8.8 + ([Vanessa McHale](https://github.com/vmchale)) + * Change `deepseq` upper bound to 1.5 + ([Herbert Valerio Riedel](https://github.com/hvr)) + +------------------------------------------------------------------- Old: ---- dlist-0.8.0.6.tar.gz dlist.cabal New: ---- dlist-0.8.0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-dlist.spec ++++++ --- /var/tmp/diff_new_pack.TaY2Yi/_old 2019-08-13 20:44:48.091053174 +0200 +++ /var/tmp/diff_new_pack.TaY2Yi/_new 2019-08-13 20:44:48.127053163 +0200 @@ -19,14 +19,13 @@ %global pkg_name dlist %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.0.6 +Version: 0.8.0.7 Release: 0 Summary: Difference lists License: BSD-3-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 -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros @@ -52,7 +51,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ dlist-0.8.0.6.tar.gz -> dlist-0.8.0.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.6/ChangeLog.md new/dlist-0.8.0.7/ChangeLog.md --- old/dlist-0.8.0.6/ChangeLog.md 2019-03-29 14:25:09.000000000 +0100 +++ new/dlist-0.8.0.7/ChangeLog.md 2019-08-05 13:37:52.000000000 +0200 @@ -2,6 +2,16 @@ Change Log ========== +Version 0.8.0.7 (2019-08-05) *Independence Day in Burkina Faso* +--------------------------------------------------------------- + +#### Package changes + +* Add `MonadFail` instance for GHC >= 8.8 + ([Vanessa McHale](https://github.com/vmchale)) +* Change `deepseq` upper bound to 1.5 + ([Herbert Valerio Riedel](https://github.com/hvr)) + Version 0.8.0.6 (2019-03-29) *Martyrs' Day in Madagascar* --------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.6/Data/DList.hs new/dlist-0.8.0.7/Data/DList.hs --- old/dlist-0.8.0.6/Data/DList.hs 2019-03-29 14:25:09.000000000 +0100 +++ new/dlist-0.8.0.7/Data/DList.hs 2019-08-05 13:37:52.000000000 +0200 @@ -78,6 +78,9 @@ #if MIN_VERSION_base(4,9,0) import Data.Semigroup (Semigroup(..)) +#if !MIN_VERSION_base(4,13,0) +import Control.Monad.Fail (MonadFail(..)) +#endif #endif #ifdef __GLASGOW_HASKELL__ @@ -278,8 +281,16 @@ return = pure {-# INLINE return #-} +#if !MIN_VERSION_base(4,13,0) fail _ = empty {-# INLINE fail #-} +#endif + +#if MIN_VERSION_base(4,9,0) +instance MonadFail DList where + fail _ = empty + {-# INLINE fail #-} +#endif instance MonadPlus DList where mzero = empty diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.6/dlist.cabal new/dlist-0.8.0.7/dlist.cabal --- old/dlist-0.8.0.6/dlist.cabal 2019-03-29 14:25:09.000000000 +0100 +++ new/dlist-0.8.0.7/dlist.cabal 2019-08-05 13:37:52.000000000 +0200 @@ -1,5 +1,5 @@ name: dlist -version: 0.8.0.6 +version: 0.8.0.7 synopsis: Difference lists description: Difference lists are a list-like type supporting O(1) append. This is @@ -23,7 +23,11 @@ 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.5 + GHC==8.8.1 source-repository head type: git @@ -32,7 +36,7 @@ library build-depends: base >= 4 && < 5, - deepseq >= 1.1 && < 2 + deepseq >= 1.1 && < 1.5 extensions: CPP exposed-modules: Data.DList ghc-options: -Wall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.6/tests/Main.hs new/dlist-0.8.0.7/tests/Main.hs --- old/dlist-0.8.0.6/tests/Main.hs 2019-03-29 14:25:09.000000000 +0100 +++ new/dlist-0.8.0.7/tests/Main.hs 2019-08-05 13:37:52.000000000 +0200 @@ -98,6 +98,9 @@ f :: DList Int -> DList Int f = id +prop_fail :: String -> Bool +prop_fail str = fail str == (empty :: DList ()) + #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 708 -- | Test that the IsList instance methods compile and work with simple lists prop_IsList :: Bool @@ -156,6 +159,7 @@ , ("replicate", property prop_replicate) , ("head", property prop_head) , ("tail", property prop_tail) + , ("fail", property prop_fail) , ("unfoldr", property prop_unfoldr) , ("foldr", property prop_foldr) , ("map", property prop_map)