Hello community,

here is the log from the commit of package ghc-th-expand-syns for 
openSUSE:Factory checked in at 2018-05-30 12:14:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-th-expand-syns (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-th-expand-syns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-th-expand-syns"

Wed May 30 12:14:34 2018 rev:5 rq:607902 version:0.4.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-th-expand-syns/ghc-th-expand-syns.changes    
2017-09-15 22:18:39.254446399 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-th-expand-syns.new/ghc-th-expand-syns.changes   
    2018-05-30 12:27:33.149764510 +0200
@@ -1,0 +2,7 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update th-expand-syns to version 0.4.4.0.
+  * Made `SynonymExpansionSettings` an instance of `Semigroup`
+    (fixes build with GHC 8.4.1 alpha).
+
+-------------------------------------------------------------------

Old:
----
  th-expand-syns-0.4.3.0.tar.gz

New:
----
  th-expand-syns-0.4.4.0.tar.gz

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

Other differences:
------------------
++++++ ghc-th-expand-syns.spec ++++++
--- /var/tmp/diff_new_pack.e05zeU/_old  2018-05-30 12:27:33.833740626 +0200
+++ /var/tmp/diff_new_pack.e05zeU/_new  2018-05-30 12:27:33.837740486 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-expand-syns
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 th-expand-syns
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.3.0
+Version:        0.4.4.0
 Release:        0
 Summary:        Expands type synonyms in Template Haskell ASTs
 License:        BSD-3-Clause
@@ -65,7 +65,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc changelog.markdown

++++++ th-expand-syns-0.4.3.0.tar.gz -> th-expand-syns-0.4.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-expand-syns-0.4.3.0/Language/Haskell/TH/ExpandSyns/SemigroupCompat.hs 
new/th-expand-syns-0.4.4.0/Language/Haskell/TH/ExpandSyns/SemigroupCompat.hs
--- 
old/th-expand-syns-0.4.3.0/Language/Haskell/TH/ExpandSyns/SemigroupCompat.hs    
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/th-expand-syns-0.4.4.0/Language/Haskell/TH/ExpandSyns/SemigroupCompat.hs    
    2017-12-26 21:33:23.000000000 +0100
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+module Language.Haskell.TH.ExpandSyns.SemigroupCompat(Semigroup(..), 
Monoid(..)) where
+
+#if MIN_VERSION_base(4,9,0)
+
+import Data.Semigroup
+
+#else
+
+import Data.Monoid(Monoid(..))
+import Prelude
+
+infixr 6 <>
+class Semigroup a where
+  (<>) :: a -> a -> a
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-expand-syns-0.4.3.0/Language/Haskell/TH/ExpandSyns.hs 
new/th-expand-syns-0.4.4.0/Language/Haskell/TH/ExpandSyns.hs
--- old/th-expand-syns-0.4.3.0/Language/Haskell/TH/ExpandSyns.hs        
2017-04-21 02:05:11.000000000 +0200
+++ new/th-expand-syns-0.4.4.0/Language/Haskell/TH/ExpandSyns.hs        
2017-12-26 21:16:35.000000000 +0100
@@ -12,11 +12,11 @@
                                      ,substInCon
                                      ,evades,evade) where
 
+import Language.Haskell.TH.ExpandSyns.SemigroupCompat as Sem
 import Language.Haskell.TH hiding(cxt)
 import qualified Data.Set as Set
 import Data.Generics
 import Control.Monad
-import Data.Monoid
 import Prelude
 
 -- For ghci
@@ -79,6 +79,9 @@
   }
 
 
+instance Semigroup SynonymExpansionSettings where
+  SynonymExpansionSettings w1 <> SynonymExpansionSettings w2 =
+    SynonymExpansionSettings (w1 && w2)
 
 -- | Default settings ('mempty'):
 --
@@ -91,8 +94,12 @@
       sesWarnTypeFamilies = True
     }
 
-  mappend (SynonymExpansionSettings w1) (SynonymExpansionSettings w2) =
-    SynonymExpansionSettings (w1 && w2)
+#if !MIN_VERSION_base(4,11,0)
+-- starting with base-4.11, mappend definitions are redundant;
+-- at some point `mappend` will be removed from `Monoid`
+  mappend = (Sem.<>)
+#endif
+
 
 -- | Suppresses the warning that type families are unsupported.
 noWarnTypeFamilies :: SynonymExpansionSettings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-expand-syns-0.4.3.0/changelog.markdown 
new/th-expand-syns-0.4.4.0/changelog.markdown
--- old/th-expand-syns-0.4.3.0/changelog.markdown       2017-04-21 
01:57:13.000000000 +0200
+++ new/th-expand-syns-0.4.4.0/changelog.markdown       2017-12-26 
21:29:22.000000000 +0100
@@ -1,3 +1,7 @@
+## 0.4.4.0
+
+*   Made `SynonymExpansionSettings` an instance of `Semigroup` (fixes build 
with GHC 8.4.1 alpha).
+
 ## 0.4.3.0
 
 *   Added support for GHC 8.2.1 / template-haskell-2.12 (Thanks to Ryan Scott)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-expand-syns-0.4.3.0/th-expand-syns.cabal 
new/th-expand-syns-0.4.4.0/th-expand-syns.cabal
--- old/th-expand-syns-0.4.3.0/th-expand-syns.cabal     2017-04-21 
01:57:42.000000000 +0200
+++ new/th-expand-syns-0.4.4.0/th-expand-syns.cabal     2017-12-26 
21:43:27.000000000 +0100
@@ -1,5 +1,5 @@
 name:                th-expand-syns
-version:             0.4.3.0
+version:             0.4.4.0
 synopsis:            Expands type synonyms in Template Haskell ASTs
 description:         Expands type synonyms in Template Haskell ASTs.
 category:            Template Haskell
@@ -18,17 +18,18 @@
     GHC == 7.6.3
     GHC == 7.8.4
     GHC == 7.10.3
-    GHC == 8.0.1
-    GHC == 8.2.1
+    GHC == 8.0.2
+    GHC == 8.2.2
 
 source-repository head
  type: git
  location: git://github.com/DanielSchuessler/th-expand-syns.git
 
 Library
-    build-depends:       base >= 4 && < 5, template-haskell < 2.13, syb, 
containers
+    build-depends:       base >= 4 && < 5, template-haskell < 2.14, syb, 
containers
     ghc-options:
     exposed-modules:     Language.Haskell.TH.ExpandSyns
+    other-modules:       Language.Haskell.TH.ExpandSyns.SemigroupCompat
 
 Test-Suite test-th-expand-syns
     type:               exitcode-stdio-1.0


Reply via email to