commit ghc-opml-conduit for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package ghc-opml-conduit for openSUSE:Factory checked in at 2017-08-31 20:57:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-opml-conduit (Old)
and /work/SRC/openSUSE:Factory/.ghc-opml-conduit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-opml-conduit"
Thu Aug 31 20:57:40 2017 rev:2 rq:513443 version:0.6.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-opml-conduit/ghc-opml-conduit.changes 2017-05-17 10:50:05.310832266 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-opml-conduit.new/ghc-opml-conduit.changes 2017-08-31 20:57:41.713032884 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:34 UTC 2017 - psimons@suse.com
+
+- Update to version 0.6.0.3.
+
+-------------------------------------------------------------------
Old:
----
opml-conduit-0.6.0.1.tar.gz
New:
----
opml-conduit-0.6.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-opml-conduit.spec ++++++
--- /var/tmp/diff_new_pack.AJUDDT/_old 2017-08-31 20:57:42.400936231 +0200
+++ /var/tmp/diff_new_pack.AJUDDT/_new 2017-08-31 20:57:42.404935669 +0200
@@ -19,7 +19,7 @@
%global pkg_name opml-conduit
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.6.0.1
+Version: 0.6.0.3
Release: 0
Summary: Streaming parser/renderer for the OPML 2.0 format
License: WTFPL
++++++ opml-conduit-0.6.0.1.tar.gz -> opml-conduit-0.6.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/Text/OPML/Conduit/Parse.hs new/opml-conduit-0.6.0.3/Text/OPML/Conduit/Parse.hs
--- old/opml-conduit-0.6.0.1/Text/OPML/Conduit/Parse.hs 2016-10-04 22:30:49.000000000 +0200
+++ new/opml-conduit-0.6.0.3/Text/OPML/Conduit/Parse.hs 2017-06-14 23:10:08.000000000 +0200
@@ -21,7 +21,7 @@
-- {{{ Imports
import Conduit hiding (throwM)
-import Control.Applicative hiding(many)
+import Control.Applicative hiding (many)
import Control.Exception.Safe as Exception
import Control.Monad
import Control.Monad.Fix
@@ -106,19 +106,19 @@
asCategories :: Text -> [NonEmpty (NonNull Text)]
asCategories = mapMaybe (nonEmpty . mapMaybe fromNullable . split (== '/')) . split (== ',')
-dateTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe UTCTime)
+dateTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe UTCTime)
dateTag name = tagIgnoreAttrs name $ content >>= asTime
-uriTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe URI)
+uriTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe URI)
uriTag name = tagIgnoreAttrs name $ content >>= asURI
expansionStateTag :: (MonadThrow m, Integral a) => ConduitM Event o m (Maybe [a])
expansionStateTag = tagIgnoreAttrs "expansionState" $ content >>= asExpansionState
-textTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe Text)
+textTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe Text)
textTag name = tagIgnoreAttrs name content
-decimalTag :: (Integral a, MonadThrow m) => Name -> ConduitM Event o m (Maybe a)
+decimalTag :: (Integral i, MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe i)
decimalTag name = tagIgnoreAttrs name $ content >>= asDecimal
projectC :: Monad m => Fold a a' b b' -> Conduit a m b
@@ -153,7 +153,7 @@
-- - each sub-element may be repeated, in which case only the first occurrence is taken into account;
-- - each unknown sub-element is ignored.
parseOpmlHead :: (MonadCatch m) => ConduitM Event o m (Maybe OpmlHead)
-parseOpmlHead = tagIgnoreAttrs "head" $ (manyYield' (choose piece) <* many ignoreAllTreesContent) =$= zipConduit where
+parseOpmlHead = tagIgnoreAttrs "head" $ (manyYield' (choose piece) <* many ignoreAnyTreeContent) =$= zipConduit where
zipConduit = getZipConduit $ OpmlHead
<$> ZipConduit (projectC _HeadTitle =$= headDefC mempty)
<*> ZipConduit (projectC _HeadCreated =$= headC)
@@ -187,7 +187,7 @@
-- | Parse an @\
participants (1)
-
root@hilbert.suse.de