Hello community,

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

Package is "ghc-json"

Wed May 30 12:10:19 2018 rev:4 rq:607830 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-json/ghc-json.changes        2017-09-15 
21:53:12.133614637 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-json.new/ghc-json.changes   2018-05-30 
12:26:15.540428864 +0200
@@ -1,0 +2,6 @@
+Mon May 14 17:02:11 UTC 2018 - [email protected]
+
+- Update json to version 0.9.2.
+  Upstream does not provide a changelog.
+
+-------------------------------------------------------------------

Old:
----
  json-0.9.1.tar.gz

New:
----
  json-0.9.2.tar.gz

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

Other differences:
------------------
++++++ ghc-json.spec ++++++
--- /var/tmp/diff_new_pack.HRpseY/_old  2018-05-30 12:26:16.848384752 +0200
+++ /var/tmp/diff_new_pack.HRpseY/_new  2018-05-30 12:26:16.852384617 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-json
 #
-# 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
@@ -18,7 +18,7 @@
 
 %global pkg_name json
 Name:           ghc-%{pkg_name}
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        Support for serialising Haskell to and from JSON
 License:        BSD-3-Clause
@@ -72,7 +72,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc CHANGES

++++++ json-0.9.1.tar.gz -> json-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/json-0.9.1/Text/JSON/Pretty.hs 
new/json-0.9.2/Text/JSON/Pretty.hs
--- old/json-0.9.1/Text/JSON/Pretty.hs  2015-03-14 01:32:49.000000000 +0100
+++ new/json-0.9.2/Text/JSON/Pretty.hs  2018-03-17 20:49:55.000000000 +0100
@@ -17,6 +17,7 @@
 
 import Text.JSON.Types
 import Text.PrettyPrint.HughesPJ
+import qualified Text.PrettyPrint.HughesPJ as PP
 import Data.Ratio
 import Data.Char
 import Numeric
@@ -52,7 +53,7 @@
         pp_char c | isControl c || fromEnum c >= 0x7f = uni_esc c
         pp_char c               = char c
 
-        uni_esc c = text "\\u" <> text (pad 4 (showHex (fromEnum c) ""))
+        uni_esc c = text "\\u" PP.<> text (pad 4 (showHex (fromEnum c) ""))
 
         pad n cs  | len < n   = replicate (n-len) '0' ++ cs
                   | otherwise = cs
@@ -60,7 +61,7 @@
 
 pp_object        :: [(String,JSValue)] -> Doc
 pp_object xs      = braces $ fsep $ punctuate comma $ map pp_field xs
-  where pp_field (k,v) = pp_string k <> colon <+> pp_value v
+  where pp_field (k,v) = pp_string k PP.<> colon <+> pp_value v
 
 pp_js_string     :: JSString -> Doc
 pp_js_string x    = pp_string (fromJSString x)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/json-0.9.1/json.cabal new/json-0.9.2/json.cabal
--- old/json-0.9.1/json.cabal   2015-03-14 01:32:49.000000000 +0100
+++ new/json-0.9.2/json.cabal   2018-03-17 20:49:55.000000000 +0100
@@ -1,5 +1,5 @@
 name:               json
-version:            0.9.1
+version:            0.9.2
 synopsis:           Support for serialising Haskell to and from JSON
 description:
     JSON (JavaScript Object Notation) is a lightweight data-interchange


Reply via email to