Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-fgl for openSUSE:Factory checked 
in at 2022-10-13 15:41:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-fgl (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-fgl.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-fgl"

Thu Oct 13 15:41:54 2022 rev:5 rq:1008460 version:5.8.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-fgl/ghc-fgl.changes  2020-12-22 
11:39:20.949493606 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-fgl.new.2275/ghc-fgl.changes        
2022-10-13 15:41:59.638720213 +0200
@@ -1,0 +2,17 @@
+Sat Sep 24 07:24:12 UTC 2022 - Peter Simons <[email protected]>
+
+- Update fgl to version 5.8.0.0.
+  5.8.0.0
+  -------
+
+  * Breaking change: MonadFail is no longer a superclass of GraphM.
+    This is to support GHC 9.4.  This has no effect on the IO and ST
+    instances of GraphM, but may affect users.
+
+-------------------------------------------------------------------
+Thu Aug 25 22:05:53 UTC 2022 - Peter Simons <[email protected]>
+
+- Update fgl to version 5.7.0.3 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

Old:
----
  fgl-5.7.0.3.tar.gz

New:
----
  fgl-5.8.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-fgl.spec ++++++
--- /var/tmp/diff_new_pack.TFUzTD/_old  2022-10-13 15:42:00.170721251 +0200
+++ /var/tmp/diff_new_pack.TFUzTD/_new  2022-10-13 15:42:00.174721258 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fgl
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # 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 fgl
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        5.7.0.3
+Version:        5.8.0.0
 Release:        0
 Summary:        Martin Erwig's Functional Graph Library
 License:        BSD-3-Clause

++++++ fgl-5.7.0.3.tar.gz -> fgl-5.8.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fgl-5.7.0.3/ChangeLog new/fgl-5.8.0.0/ChangeLog
--- old/fgl-5.7.0.3/ChangeLog   2001-09-09 03:46:40.000000000 +0200
+++ new/fgl-5.8.0.0/ChangeLog   2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,10 @@
+5.8.0.0
+-------
+
+* Breaking change: MonadFail is no longer a superclass of GraphM.
+  This is to support GHC 9.4.  This has no effect on the IO and ST
+  instances of GraphM, but may affect users.
+
 5.7.0.3
 -------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fgl-5.7.0.3/Data/Graph/Inductive/Monad.hs 
new/fgl-5.8.0.0/Data/Graph/Inductive/Monad.hs
--- old/fgl-5.7.0.3/Data/Graph/Inductive/Monad.hs       2001-09-09 
03:46:40.000000000 +0200
+++ new/fgl-5.8.0.0/Data/Graph/Inductive/Monad.hs       2001-09-09 
03:46:40.000000000 +0200
@@ -19,10 +19,6 @@
 
 
 import Data.Graph.Inductive.Graph
-#if MIN_VERSION_base(4,12,0)
-import Control.Monad.Fail
-import Prelude hiding (fail)
-#endif
 
 {-# ANN module "HLint: ignore Redundant lambda" #-}
 
@@ -43,13 +39,7 @@
 
 -- Monadic Graph
 --
-class
-#if MIN_VERSION_base(4,12,0)
- (MonadFail m)
-#else
- (Monad m)
-#endif
-  => GraphM m gr where
+class (Monad m) => GraphM m gr where
   {-# MINIMAL emptyM, isEmptyM, matchM, mkGraphM, labNodesM #-}
 
   emptyM     :: m (gr a b)
@@ -65,8 +55,8 @@
   matchAnyM  :: m (gr a b) -> m (GDecomp gr a b)
   matchAnyM g = do vs <- labNodesM g
                    case vs of
-                     []      -> fail "Match Exception, Empty Graph"
-                     (v,_):_ -> do (Just c,g') <- matchM v g
+                     []      -> error "Match Exception, Empty Graph"
+                     (v,_):_ -> do ~(Just c,g') <- matchM v g
                                    return (c,g')
 
   noNodesM   :: m (gr a b) -> m Int
@@ -75,7 +65,7 @@
   nodeRangeM :: m (gr a b) -> m (Node,Node)
   nodeRangeM g = do isE <- isEmptyM g
                     if isE
-                       then fail "nodeRangeM of empty graph"
+                       then error "nodeRangeM of empty graph"
                        else do vs <- nodesM g
                                return (minimum vs,maximum vs)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fgl-5.7.0.3/fgl.cabal new/fgl-5.8.0.0/fgl.cabal
--- old/fgl-5.7.0.3/fgl.cabal   2001-09-09 03:46:40.000000000 +0200
+++ new/fgl-5.8.0.0/fgl.cabal   2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:          fgl
-version:       5.7.0.3
+version:       5.8.0.0
 license:       BSD3
 license-file:  LICENSE
 author:        Martin Erwig, Ivan Lazar Miljenovic
@@ -18,8 +18,9 @@
                ChangeLog
 
 tested-with:   GHC == 7.2.2,  GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4,
-               GHC == 7.10.2, GHC == 8.0.1, GHC == 8.2.2, GHC == 8.4.3,
-               GHC == 8.6.2,  GHC == 8.8.2, GHC == 8.10.1
+               GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3,
+               GHC == 8.6.2,  GHC == 8.8.2, GHC == 8.10.7, GHC == 9.0.2,
+               GHC == 9.2.3, GHC == 9.4.2
 
 source-repository head
     type:         git
@@ -92,7 +93,7 @@
     build-depends:    fgl
                     , base
                     , QuickCheck >= 2.8 && < 2.15
-                    , hspec >= 2.1 && < 2.8
+                    , hspec >= 2.1 && < 2.11
                     , containers
 
     hs-source-dirs:   test

Reply via email to