Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-commonmark-pandoc for
openSUSE:Factory checked in at 2022-02-11 23:08:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-commonmark-pandoc (Old)
and /work/SRC/openSUSE:Factory/.ghc-commonmark-pandoc.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-commonmark-pandoc"
Fri Feb 11 23:08:42 2022 rev:8 rq:953445 version:0.2.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-commonmark-pandoc/ghc-commonmark-pandoc.changes
2021-07-10 22:54:58.819537275 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-commonmark-pandoc.new.1956/ghc-commonmark-pandoc.changes
2022-02-11 23:10:38.187158890 +0100
@@ -1,0 +2,11 @@
+Fri Jan 14 17:56:11 UTC 2022 - Peter Simons <[email protected]>
+
+- Update commonmark-pandoc to version 0.2.1.2.
+ ## 0.2.1.2
+
+ - Fix addition of sourcepos attributes to blocks (jgm/pandoc#7769).
+ We were always adding an enclosing Div, even when the block
+ admits attributes. Now the attributes are added to the block
+ itself, unless it can't accept attributes (as with inlines).
+
+-------------------------------------------------------------------
Old:
----
commonmark-pandoc-0.2.1.1.tar.gz
New:
----
commonmark-pandoc-0.2.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-commonmark-pandoc.spec ++++++
--- /var/tmp/diff_new_pack.cyduHB/_old 2022-02-11 23:10:38.563159978 +0100
+++ /var/tmp/diff_new_pack.cyduHB/_new 2022-02-11 23:10:38.571160000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-commonmark-pandoc
#
-# Copyright (c) 2021 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
@@ -18,7 +18,7 @@
%global pkg_name commonmark-pandoc
Name: ghc-%{pkg_name}
-Version: 0.2.1.1
+Version: 0.2.1.2
Release: 0
Summary: Bridge between commonmark and pandoc AST
License: BSD-3-Clause
++++++ commonmark-pandoc-0.2.1.1.tar.gz -> commonmark-pandoc-0.2.1.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.1.1/changelog.md
new/commonmark-pandoc-0.2.1.2/changelog.md
--- old/commonmark-pandoc-0.2.1.1/changelog.md 2021-06-28 20:33:47.000000000
+0200
+++ new/commonmark-pandoc-0.2.1.2/changelog.md 2022-01-14 18:54:11.000000000
+0100
@@ -1,5 +1,12 @@
# Changelog for commonmark-pandoc
+## 0.2.1.2
+
+- Fix addition of sourcepos attributes to blocks (jgm/pandoc#7769).
+ We were always adding an enclosing Div, even when the block
+ admits attributes. Now the attributes are added to the block
+ itself, unless it can't accept attributes (as with inlines).
+
## 0.2.1.1
- Don't collapse Para to Plain in task lists (#77).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.1.1/commonmark-pandoc.cabal
new/commonmark-pandoc-0.2.1.2/commonmark-pandoc.cabal
--- old/commonmark-pandoc-0.2.1.1/commonmark-pandoc.cabal 2021-06-28
20:33:47.000000000 +0200
+++ new/commonmark-pandoc-0.2.1.2/commonmark-pandoc.cabal 2022-01-14
18:54:32.000000000 +0100
@@ -1,5 +1,5 @@
name: commonmark-pandoc
-version: 0.2.1.1
+version: 0.2.1.2
synopsis: Bridge between commonmark and pandoc AST.
description: This library provides typeclasses for rendering
commonmark to Pandoc types.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.1.1/src/Commonmark/Pandoc.hs
new/commonmark-pandoc-0.2.1.2/src/Commonmark/Pandoc.hs
--- old/commonmark-pandoc-0.2.1.1/src/Commonmark/Pandoc.hs 2021-06-28
20:33:47.000000000 +0200
+++ new/commonmark-pandoc-0.2.1.2/src/Commonmark/Pandoc.hs 2022-01-12
05:58:38.000000000 +0100
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE ExtendedDefaultRules #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
@@ -35,9 +34,6 @@
import Commonmark.Extensions.Smart
import Data.Char (isSpace)
import Data.Coerce (coerce)
-#if !MIN_VERSION_base(4,11,0)
-import Data.Semigroup (Semigroup, (<>))
-#endif
newtype Cm b a = Cm { unCm :: a }
deriving (Show, Semigroup, Monoid)
@@ -108,7 +104,7 @@
ranged _r x = x
instance Rangeable (Cm SourceRange B.Blocks) where
- ranged r x = B.divWith ("",[],[("data-pos",T.pack (show r))]) <$> x
+ ranged r = addAttributes [("data-pos", T.pack (show r))]
instance HasMath (Cm b B.Inlines) where
inlineMath t = Cm $ B.math t