Hello community,

here is the log from the commit of package ghc-asn1-parse for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:37:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-asn1-parse (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-asn1-parse.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-asn1-parse"

Wed Feb 19 18:37:41 2020 rev:11 rq:771224 version:0.9.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-asn1-parse/ghc-asn1-parse.changes  
2020-01-15 15:00:38.629754348 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-asn1-parse.new.26092/ghc-asn1-parse.changes   
    2020-02-19 18:37:41.721853212 +0100
@@ -1,0 +2,11 @@
+Fri Nov  8 16:13:13 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Mon Sep 30 02:01:28 UTC 2019 - [email protected]
+
+- Update asn1-parse to version 0.9.5.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  asn1-parse-0.9.4.tar.gz

New:
----
  asn1-parse-0.9.5.tar.gz

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

Other differences:
------------------
++++++ ghc-asn1-parse.spec ++++++
--- /var/tmp/diff_new_pack.Sak0J5/_old  2020-02-19 18:37:42.001853799 +0100
+++ /var/tmp/diff_new_pack.Sak0J5/_new  2020-02-19 18:37:42.001853799 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-asn1-parse
 #
-# 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,11 +18,10 @@
 
 %global pkg_name asn1-parse
 Name:           ghc-%{pkg_name}
-Version:        0.9.4
+Version:        0.9.5
 Release:        0
 Summary:        Simple monadic parser for ASN1 stream types
 License:        BSD-3-Clause
-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
@@ -37,7 +36,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}

++++++ asn1-parse-0.9.4.tar.gz -> asn1-parse-0.9.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asn1-parse-0.9.4/Data/ASN1/Parse.hs 
new/asn1-parse-0.9.5/Data/ASN1/Parse.hs
--- old/asn1-parse-0.9.4/Data/ASN1/Parse.hs     2015-09-21 22:30:42.000000000 
+0200
+++ new/asn1-parse-0.9.5/Data/ASN1/Parse.hs     2019-06-23 15:18:23.000000000 
+0200
@@ -7,6 +7,7 @@
 --
 -- A parser combinator for ASN1 Stream.
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE CPP #-}
 module Data.ASN1.Parse
     ( ParseASN1
     -- * run
@@ -30,6 +31,9 @@
 import Control.Applicative
 import Control.Arrow (first)
 import Control.Monad (liftM2)
+#if MIN_VERSION_base(4,9,0)
+import Control.Monad.Fail
+#endif
 
 newtype ParseASN1 a = P { runP :: [ASN1] -> Either String (a, [ASN1]) }
 
@@ -50,6 +54,16 @@
         case runP m1 s of
             Left err      -> Left err
             Right (a, s2) -> runP (m2 a) s2
+instance Alternative ParseASN1 where
+    empty = P $ \_ -> Left "empty Alternative"
+    (<|>) m1 m2 = P $ \s ->
+        case runP m1 s of
+            Left _        -> runP m2 s
+            Right (a, s2) -> Right (a, s2)
+#if MIN_VERSION_base(4,9,0)
+instance MonadFail ParseASN1 where
+    fail = throwParseError
+#endif
 
 get :: ParseASN1 [ASN1]
 get = P $ \stream -> Right (stream, stream)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asn1-parse-0.9.4/asn1-parse.cabal 
new/asn1-parse-0.9.5/asn1-parse.cabal
--- old/asn1-parse-0.9.4/asn1-parse.cabal       2015-09-21 22:30:42.000000000 
+0200
+++ new/asn1-parse-0.9.5/asn1-parse.cabal       2019-09-29 21:06:27.000000000 
+0200
@@ -1,5 +1,5 @@
 Name:                asn1-parse
-Version:             0.9.4
+Version:             0.9.5
 Description:         Simple monadic parser for ASN1 stream types, when ASN1 
pattern matching is not convenient.
 License:             BSD3
 License-file:        LICENSE
@@ -24,3 +24,4 @@
 source-repository head
   type:     git
   location: https://github.com/vincenthz/hs-asn1
+  subdir:   parse


Reply via email to