Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-xml-hamlet for openSUSE:Factory 
checked in at 2022-02-11 23:10:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-xml-hamlet (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-xml-hamlet.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-xml-hamlet"

Fri Feb 11 23:10:06 2022 rev:5 rq:953570 version:0.5.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-xml-hamlet/ghc-xml-hamlet.changes    
2020-12-22 11:49:29.146008965 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-xml-hamlet.new.1956/ghc-xml-hamlet.changes  
2022-02-11 23:12:05.543411549 +0100
@@ -1,0 +2,8 @@
+Mon Jan 10 07:24:46 UTC 2022 - Peter Simons <[email protected]>
+
+- Update xml-hamlet to version 0.5.0.2.
+  ## 0.5.0.2
+
+  * Compat with TH 2.18 [#172](https://github.com/snoyberg/xml/pull/172)
+
+-------------------------------------------------------------------

Old:
----
  xml-hamlet-0.5.0.1.tar.gz

New:
----
  xml-hamlet-0.5.0.2.tar.gz

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

Other differences:
------------------
++++++ ghc-xml-hamlet.spec ++++++
--- /var/tmp/diff_new_pack.26ARAw/_old  2022-02-11 23:12:05.971412787 +0100
+++ /var/tmp/diff_new_pack.26ARAw/_new  2022-02-11 23:12:05.975412798 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-xml-hamlet
 #
-# 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 xml-hamlet
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.5.0.1
+Version:        0.5.0.2
 Release:        0
 Summary:        Hamlet-style quasiquoter for XML content
 License:        BSD-3-Clause

++++++ xml-hamlet-0.5.0.1.tar.gz -> xml-hamlet-0.5.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xml-hamlet-0.5.0.1/ChangeLog.md 
new/xml-hamlet-0.5.0.2/ChangeLog.md
--- old/xml-hamlet-0.5.0.1/ChangeLog.md 2019-09-03 07:09:05.000000000 +0200
+++ new/xml-hamlet-0.5.0.2/ChangeLog.md 2021-11-29 07:26:26.000000000 +0100
@@ -1,5 +1,9 @@
 # Changelog for xml-hamlet
 
+## 0.5.0.2
+
+* Compat with TH 2.18 [#172](https://github.com/snoyberg/xml/pull/172)
+
 ## 0.5.0.1
 
 * Compat with GHC 8.8.1 [#147](https://github.com/snoyberg/xml/issues/147)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xml-hamlet-0.5.0.1/Text/Hamlet/XML.hs 
new/xml-hamlet-0.5.0.2/Text/Hamlet/XML.hs
--- old/xml-hamlet-0.5.0.1/Text/Hamlet/XML.hs   2017-01-16 13:55:00.000000000 
+0100
+++ new/xml-hamlet-0.5.0.2/Text/Hamlet/XML.hs   2021-11-29 07:26:08.000000000 
+0100
@@ -29,6 +29,13 @@
 import Control.Arrow (first, (***))
 import Data.List (intercalate)
 
+conP :: Name -> [Pat] -> Pat
+#if MIN_VERSION_template_haskell(2,18,0)
+conP name = ConP name []
+#else
+conP = ConP
+#endif
+
 -- | Convert some value to a list of attribute pairs.
 class ToAttributes a where
     toAttributes :: a -> Map.Map X.Name Text
@@ -77,7 +84,7 @@
     return (ListP patterns, concat scopes)
 bindingPattern (BindConstr con is) = do
     (patterns, scopes) <- fmap unzip $ mapM bindingPattern is
-    return (ConP (mkConName con) patterns, concat scopes)
+    return (conP (mkConName con) patterns, concat scopes)
 bindingPattern (BindRecord con fields wild) = do
     let f (Ident field,b) =
            do (p,s) <- bindingPattern b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xml-hamlet-0.5.0.1/xml-hamlet.cabal 
new/xml-hamlet-0.5.0.2/xml-hamlet.cabal
--- old/xml-hamlet-0.5.0.1/xml-hamlet.cabal     2019-09-03 07:09:05.000000000 
+0200
+++ new/xml-hamlet-0.5.0.2/xml-hamlet.cabal     2021-11-29 11:34:06.000000000 
+0100
@@ -1,5 +1,6 @@
+Cabal-version:       >=1.10
 Name:                xml-hamlet
-Version:             0.5.0.1
+Version:             0.5.0.2
 Synopsis:            Hamlet-style quasiquoter for XML content
 Homepage:            http://www.yesodweb.com/
 License:             BSD3
@@ -11,13 +12,12 @@
 Description:         Hamlet-style quasiquoter for XML content
 Extra-source-files:  test/main.hs ChangeLog.md README.md
 
-Cabal-version:       >=1.8
-
 Library
+  default-language:    Haskell2010
   Exposed-modules:     Text.Hamlet.XML
   Other-modules:       Text.Hamlet.XMLParse
   
-  Build-depends:       base                       >= 4        && < 5
+  Build-depends:       base                       >= 4.12     && < 5
                      , shakespeare                >= 1.0      && < 2.2
                      , xml-conduit                >= 1.0
                      , text                       >= 0.10
@@ -28,6 +28,7 @@
   Ghc-options:         -Wall
 
 test-suite test
+  default-language:    Haskell2010
   main-is:             main.hs
   hs-source-dirs:      test
   type:                exitcode-stdio-1.0

Reply via email to