Hello community,

here is the log from the commit of package ghc-th-utilities for 
openSUSE:Factory checked in at 2019-12-27 13:58:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-th-utilities"

Fri Dec 27 13:58:25 2019 rev:8 rq:759536 version:0.2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes        
2019-05-12 11:36:38.194438636 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-th-utilities.new.6675/ghc-th-utilities.changes  
    2019-12-27 13:58:25.940805114 +0100
@@ -1,0 +2,13 @@
+Fri Nov  8 16:15:00 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Fri Oct 18 02:02:42 UTC 2019 - [email protected]
+
+- Update th-utilities to version 0.2.3.1.
+  ## 0.2.3.1
+
+  * Compatibility with GHC-8.8
+
+-------------------------------------------------------------------

Old:
----
  th-utilities-0.2.3.0.tar.gz

New:
----
  th-utilities-0.2.3.1.tar.gz

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

Other differences:
------------------
++++++ ghc-th-utilities.spec ++++++
--- /var/tmp/diff_new_pack.OGwp4j/_old  2019-12-27 13:58:26.928805592 +0100
+++ /var/tmp/diff_new_pack.OGwp4j/_new  2019-12-27 13:58:26.932805594 +0100
@@ -19,11 +19,10 @@
 %global pkg_name th-utilities
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2.3.0
+Version:        0.2.3.1
 Release:        0
 Summary:        Collection of useful functions for use with Template Haskell
 License:        MIT
-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
@@ -47,7 +46,6 @@
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Libraries/Haskell
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++++++ th-utilities-0.2.3.0.tar.gz -> th-utilities-0.2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-utilities-0.2.3.0/ChangeLog.md 
new/th-utilities-0.2.3.1/ChangeLog.md
--- old/th-utilities-0.2.3.0/ChangeLog.md       2019-05-05 23:12:52.000000000 
+0200
+++ new/th-utilities-0.2.3.1/ChangeLog.md       2019-10-17 05:23:43.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog
 
+## 0.2.3.1
+
+* Compatibility with GHC-8.8
+
 ## 0.2.3.0
 
 * Improved fix to the type variable behavior with GHC <= 7.10.  Uses
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-utilities-0.2.3.0/src/TH/ReifySimple.hs 
new/th-utilities-0.2.3.1/src/TH/ReifySimple.hs
--- old/th-utilities-0.2.3.0/src/TH/ReifySimple.hs      2019-01-09 
05:54:24.000000000 +0100
+++ new/th-utilities-0.2.3.1/src/TH/ReifySimple.hs      2019-10-17 
05:21:51.000000000 +0200
@@ -233,18 +233,24 @@
         Just $ DataFamily name (map tyVarBndrName tvs) (map go insts)
     _ -> Nothing
   where
-#if MIN_VERSION_template_haskell(2,11,0)
-    go (NewtypeInstD preds name params _kind con _deriving) =
+#if MIN_VERSION_template_haskell(2,15,0)
+    go (NewtypeInstD preds _ lhs _kind con _deriving)
+      | ConT name:params <- unAppsT lhs
+#elif MIN_VERSION_template_haskell(2,11,0)
+    go (NewtypeInstD preds name params _kind con _deriving)
 #else
-    go (NewtypeInstD preds name params       con _deriving) =
+    go (NewtypeInstD preds name params       con _deriving)
 #endif
-        DataInst name preds params (conToDataCons con)
-#if MIN_VERSION_template_haskell(2,11,0)
-    go (DataInstD preds name params _kind cons _deriving) =
+      = DataInst name preds params (conToDataCons con)
+#if MIN_VERSION_template_haskell(2,15,0)
+    go (DataInstD preds _ lhs _kind cons _deriving)
+      | ConT name:params <- unAppsT lhs
+#elif MIN_VERSION_template_haskell(2,11,0)
+    go (DataInstD preds name params _kind cons _deriving)
 #else
-    go (DataInstD preds name params       cons _deriving) =
+    go (DataInstD preds name params       cons _deriving)
 #endif
-        DataInst name preds params (concatMap conToDataCons cons)
+      = DataInst name preds params (concatMap conToDataCons cons)
     go info' = error $
         "Unexpected instance in FamilyI in infoToDataInsts:\n" ++ pprint info'
 
@@ -263,8 +269,23 @@
 #endif
     _ -> Nothing
   where
+#if MIN_VERSION_template_haskell(2,15,0)
+    goEqn _ (TySynEqn _ lhs ty)
+      | ConT name:params <- unAppsT lhs
+      = TypeInst name params ty
+      | otherwise
+      = error $ "Unexpected type family instance head: " ++ pprint lhs
+#else
     goEqn name (TySynEqn params ty) = TypeInst name params ty
+#endif
+
+#if MIN_VERSION_template_haskell(2,15,0)
+    go (TySynInstD (TySynEqn _ lhs ty))
+      | ConT name:params <- unAppsT lhs
+      = TypeInst name params ty
+#else
     go (TySynInstD name (TySynEqn params ty)) = TypeInst name params ty
+#endif
     go info' = error $
         "Unexpected instance in FamilyI in infoToTypeInsts:\n" ++ pprint info'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-utilities-0.2.3.0/th-utilities.cabal 
new/th-utilities-0.2.3.1/th-utilities.cabal
--- old/th-utilities-0.2.3.0/th-utilities.cabal 2019-05-05 23:13:46.000000000 
+0200
+++ new/th-utilities-0.2.3.1/th-utilities.cabal 2019-10-17 05:24:31.000000000 
+0200
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 7886213bf6588ab61ba8582e6dc179a0d841c4c383fc63021383e7abd1a5dde0
+-- hash: bda1ef012fe2084207b76af87373ec5568167d027ce8878be222946dc4a82d5b
 
 name:           th-utilities
-version:        0.2.3.0
+version:        0.2.3.1
 synopsis:       Collection of useful functions for use with Template Haskell
 category:       Template Haskell
 homepage:       https://github.com/fpco/th-utilities#readme


Reply via email to