Hello community,

here is the log from the commit of package ghc-HsYAML for openSUSE:Factory 
checked in at 2019-01-25 22:42:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-HsYAML (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-HsYAML.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-HsYAML"

Fri Jan 25 22:42:22 2019 rev:3 rq:667132 version:0.1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-HsYAML/ghc-HsYAML.changes    2018-10-25 
08:21:14.695940976 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-HsYAML.new.28833/ghc-HsYAML.changes 
2019-01-25 22:42:25.871297256 +0100
@@ -1,0 +2,9 @@
+Thu Jan  3 03:00:56 UTC 2019 - [email protected]
+
+- Update HsYAML to version 0.1.1.3.
+  ### 0.1.1.3
+
+  * Fix bug in float regexp being too lax in the JSON and Core schema 
([#7](https://github.com/hvr/HsYAML/issues/7))
+  * Remove dependency on `dlist`
+
+-------------------------------------------------------------------

Old:
----
  HsYAML-0.1.1.2.tar.gz
  HsYAML.cabal

New:
----
  HsYAML-0.1.1.3.tar.gz

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

Other differences:
------------------
++++++ ghc-HsYAML.spec ++++++
--- /var/tmp/diff_new_pack.cS8GtX/_old  2019-01-25 22:42:27.811294866 +0100
+++ /var/tmp/diff_new_pack.cS8GtX/_new  2019-01-25 22:42:27.811294866 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-HsYAML
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,18 +18,16 @@
 
 %global pkg_name HsYAML
 Name:           ghc-%{pkg_name}
-Version:        0.1.1.2
+Version:        0.1.1.3
 Release:        0
 Summary:        Pure Haskell YAML 1.2 parser
 License:        GPL-2.0-or-later
 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
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-dlist-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-parsec-devel
 BuildRequires:  ghc-rpm-macros
@@ -66,7 +64,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ HsYAML-0.1.1.2.tar.gz -> HsYAML-0.1.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HsYAML-0.1.1.2/ChangeLog.md 
new/HsYAML-0.1.1.3/ChangeLog.md
--- old/HsYAML-0.1.1.2/ChangeLog.md     2018-06-30 14:49:02.000000000 +0200
+++ new/HsYAML-0.1.1.3/ChangeLog.md     2019-01-03 00:17:31.000000000 +0100
@@ -1,3 +1,8 @@
+### 0.1.1.3
+
+* Fix bug in float regexp being too lax in the JSON and Core schema 
([#7](https://github.com/hvr/HsYAML/issues/7))
+* Remove dependency on `dlist`
+
 ### 0.1.1.2
 
 * Tolerate BOM at *each* `l-document-prefix` (rather than only at the first 
one encountered in a YAML stream)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HsYAML-0.1.1.2/HsYAML.cabal 
new/HsYAML-0.1.1.3/HsYAML.cabal
--- old/HsYAML-0.1.1.2/HsYAML.cabal     2018-06-30 14:49:02.000000000 +0200
+++ new/HsYAML-0.1.1.3/HsYAML.cabal     2019-01-03 00:17:31.000000000 +0100
@@ -1,6 +1,6 @@
 cabal-version:       1.14
 name:                HsYAML
-version:             0.1.1.2
+version:             0.1.1.3
 
 synopsis:            Pure Haskell YAML 1.2 parser
 homepage:            https://github.com/hvr/HsYAML
@@ -14,7 +14,7 @@
                    , 2007-2008 Oren Ben-Kiki
 category:            Text
 build-type:          Simple
-tested-with:         GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, 
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
+tested-with:         GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, 
GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
 
 description:
   @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) parser 
implementation for Haskell.
@@ -50,6 +50,7 @@
                      , Data.YAML.Schema
                      , Data.YAML.Token.Encoding
                      , Util
+                     , Data.DList
 
   default-language:    Haskell2010
   other-extensions:    FlexibleContexts
@@ -65,10 +66,9 @@
                        Trustworthy
                        TypeSynonymInstances
 
-  build-depends:       base         >=4.5   && <4.12
+  build-depends:       base         >=4.5   && <4.13
                      , bytestring   >=0.9   && <0.11
-                     , dlist        >=0.8   && <0.9
-                     , containers   >=0.4.2 && <0.6
+                     , containers   >=0.4.2 && <0.7
                      , text         >=1.2.3 && <1.3
                      , mtl          >=2.2.1 && <2.3
                      , parsec       >=3.1.13.0 && < 3.2
@@ -104,4 +104,4 @@
   else
     buildable: False
 
-  ghc-options: -rtsopts
\ No newline at end of file
+  ghc-options: -rtsopts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HsYAML-0.1.1.2/src/Data/DList.hs 
new/HsYAML-0.1.1.3/src/Data/DList.hs
--- old/HsYAML-0.1.1.2/src/Data/DList.hs        1970-01-01 01:00:00.000000000 
+0100
+++ new/HsYAML-0.1.1.3/src/Data/DList.hs        2019-01-03 00:17:31.000000000 
+0100
@@ -0,0 +1,28 @@
+{-# LANGUAGE Safe #-}
+
+-- |
+-- Copyright: © Herbert Valerio Riedel 2018
+-- SPDX-License-Identifier: GPL-2.0-or-later
+--
+-- Minimal API-compatible rip-off of @Data.DList@
+module Data.DList
+    ( DList
+    , empty
+    , singleton
+    , append
+    , toList
+    ) where
+
+newtype DList a = DList ([a] -> [a])
+
+toList :: DList a -> [a]
+toList (DList dl) = dl []
+
+singleton :: a -> DList a
+singleton x = DList (x:)
+
+empty :: DList a
+empty = DList id
+
+append :: DList a -> DList a -> DList a
+append (DList xs) (DList ys) = DList (xs . ys)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HsYAML-0.1.1.2/src/Data/YAML/Schema.hs 
new/HsYAML-0.1.1.3/src/Data/YAML/Schema.hs
--- old/HsYAML-0.1.1.2/src/Data/YAML/Schema.hs  2018-06-30 14:49:02.000000000 
+0200
+++ new/HsYAML-0.1.1.3/src/Data/YAML/Schema.hs  2019-01-03 00:17:31.000000000 
+0100
@@ -270,7 +270,7 @@
       p3 <- option "" $ do
         void (char 'e' P.<|> char 'E')
         s <- option "" (("-" <$ char '-') P.<|> ("" <$ char '+'))
-        d <- P.many digit
+        d <- P.many1 digit
 
         pure ("e" ++ s ++ d)
 
@@ -303,7 +303,7 @@
       p2 <- option "" $ do
         void (char 'e' P.<|> char 'E')
         s <- option "" (("-" <$ char '-') P.<|> ("" <$ char '+'))
-        d <- P.many digit
+        d <- P.many1 digit
 
         pure ("e" ++ s ++ d)
 


Reply via email to