Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-tree-diff for openSUSE:Factory 
checked in at 2021-11-11 21:37:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tree-diff (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-tree-diff.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-tree-diff"

Thu Nov 11 21:37:05 2021 rev:6 rq:930371 version:0.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tree-diff/ghc-tree-diff.changes      
2021-09-10 23:41:35.054576812 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tree-diff.new.1890/ghc-tree-diff.changes    
2021-11-11 21:37:31.600936992 +0100
@@ -1,0 +2,8 @@
+Sun Oct 10 14:51:23 UTC 2021 - [email protected]
+
+- Update tree-diff to version 0.2.1.
+  ## 0.2.1
+
+  - Support `aeson-2.0.0.0`
+
+-------------------------------------------------------------------

Old:
----
  tree-diff-0.2.tar.gz
  tree-diff.cabal

New:
----
  tree-diff-0.2.1.tar.gz

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

Other differences:
------------------
++++++ ghc-tree-diff.spec ++++++
--- /var/tmp/diff_new_pack.4BnsWI/_old  2021-11-11 21:37:33.076938068 +0100
+++ /var/tmp/diff_new_pack.4BnsWI/_new  2021-11-11 21:37:33.080938071 +0100
@@ -19,13 +19,12 @@
 %global pkg_name tree-diff
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2
+Version:        0.2.1
 Release:        0
 Summary:        Diffing of (expression) trees
 License:        GPL-2.0-or-later
 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-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -92,7 +91,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ tree-diff-0.2.tar.gz -> tree-diff-0.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2/ChangeLog.md 
new/tree-diff-0.2.1/ChangeLog.md
--- old/tree-diff-0.2/ChangeLog.md      2001-09-09 03:46:40.000000000 +0200
+++ new/tree-diff-0.2.1/ChangeLog.md    2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,7 @@
+## 0.2.1
+
+- Support `aeson-2.0.0.0`
+
 ## 0.2
 
 - Change the pretty printing to use less horizontal space.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2/src/Data/TreeDiff/Class.hs 
new/tree-diff-0.2.1/src/Data/TreeDiff/Class.hs
--- old/tree-diff-0.2/src/Data/TreeDiff/Class.hs        2001-09-09 
03:46:40.000000000 +0200
+++ new/tree-diff-0.2.1/src/Data/TreeDiff/Class.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -24,10 +24,10 @@
 import Data.List.Compat (uncons)
 import Data.Proxy       (Proxy (..))
 import GHC.Generics
-       ((:*:) (..), (:+:) (..), Constructor (..), Generic (..), K1 (..),
-       M1 (..), Selector (..), U1 (..), V1)
+       (Constructor (..), Generic (..), K1 (..), M1 (..), Selector (..),
+       U1 (..), V1, (:*:) (..), (:+:) (..))
 
-import qualified Data.Map as Map
+import qualified Data.Map           as Map
 import qualified Data.TreeDiff.OMap as OMap
 
 import Data.TreeDiff.Expr
@@ -94,6 +94,10 @@
 
 -- aeson
 import qualified Data.Aeson as Aeson
+#if MIN_VERSION_aeson(2,0,0)
+import qualified Data.Aeson.Key    as Key
+import qualified Data.Aeson.KeyMap as KM
+#endif
 
 -- strict
 import qualified Data.Strict as Strict
@@ -550,6 +554,14 @@
 
 instance ToExpr Aeson.Value
 
+#if MIN_VERSION_aeson(2,0,0)
+instance ToExpr Key.Key where
+    toExpr = stringToExpr "Key.concat" . unconcat T.uncons . Key.toText
+
+instance ToExpr a => ToExpr (KM.KeyMap a) where
+    toExpr x = App "KM.fromList" [ toExpr $ KM.toList x ]
+#endif
+
 -------------------------------------------------------------------------------
 -- strict
 -------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tree-diff-0.2/tree-diff.cabal 
new/tree-diff-0.2.1/tree-diff.cabal
--- old/tree-diff-0.2/tree-diff.cabal   2001-09-09 03:46:40.000000000 +0200
+++ new/tree-diff-0.2.1/tree-diff.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               tree-diff
-version:            0.2
+version:            0.2.1
 synopsis:           Diffing of (expression) trees.
 category:           Data, Testing
 description:
@@ -93,10 +93,10 @@
     , time        ^>=1.4 || ^>=1.5.0.1 || ^>=1.6.0.1 || ^>=1.8.0.2 || ^>=1.9.3
 
   build-depends:
-    , aeson                 ^>=1.4.6.0 || ^>=1.5.6.0
+    , aeson                 ^>=1.4.6.0 || ^>=1.5.6.0 || ^>=2.0.0.0
     , ansi-terminal         >=0.10       && <0.12
     , ansi-wl-pprint        ^>=0.6.8.2
-    , base-compat           ^>=0.10.5 || ^>=0.11.0
+    , base-compat           ^>=0.10.5 || ^>=0.11.0 || ^>=0.12
     , bytestring-builder    ^>=0.10.8.2.0
     , hashable              ^>=1.2.7.0 || ^>=1.3.0.0
     , parsers               ^>=0.12.10
@@ -164,7 +164,7 @@
 
   -- extra dependencies
   build-depends:
-    , tasty             ^>=1.2 || ^>=1.3.1
+    , tasty             ^>=1.2 || ^>=1.3.1 || ^>=1.4.2
     , tasty-golden      ^>=2.3.1.1
     , tasty-quickcheck  ^>=0.10.1
     , trifecta          >=2       && <2.2

Reply via email to