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 2021-06-01 10:39:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-commonmark-pandoc (Old)
and /work/SRC/openSUSE:Factory/.ghc-commonmark-pandoc.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-commonmark-pandoc"
Tue Jun 1 10:39:06 2021 rev:6 rq:896213 version:0.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-commonmark-pandoc/ghc-commonmark-pandoc.changes
2020-12-22 11:37:39.601391461 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-commonmark-pandoc.new.1898/ghc-commonmark-pandoc.changes
2021-06-01 10:40:43.689146713 +0200
@@ -1,0 +2,9 @@
+Sat May 29 15:59:30 UTC 2021 - [email protected]
+
+- Update commonmark-pandoc to version 0.2.1.
+ ## 0.2.1
+
+ - commonmark-pandoc.cabal: remove unneeded build-depend on containers.
+ - Support wikilinks extension.
+
+-------------------------------------------------------------------
Old:
----
commonmark-pandoc-0.2.0.1.tar.gz
New:
----
commonmark-pandoc-0.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-commonmark-pandoc.spec ++++++
--- /var/tmp/diff_new_pack.qIrN2N/_old 2021-06-01 10:40:44.053147333 +0200
+++ /var/tmp/diff_new_pack.qIrN2N/_new 2021-06-01 10:40:44.057147340 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-commonmark-pandoc
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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.0.1
+Version: 0.2.1
Release: 0
Summary: Bridge between commonmark and pandoc AST
License: BSD-3-Clause
@@ -27,7 +27,6 @@
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-commonmark-devel
BuildRequires: ghc-commonmark-extensions-devel
-BuildRequires: ghc-containers-devel
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
++++++ commonmark-pandoc-0.2.0.1.tar.gz -> commonmark-pandoc-0.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.0.1/changelog.md
new/commonmark-pandoc-0.2.1/changelog.md
--- old/commonmark-pandoc-0.2.0.1/changelog.md 2020-09-19 19:47:54.000000000
+0200
+++ new/commonmark-pandoc-0.2.1/changelog.md 2021-05-28 20:39:43.000000000
+0200
@@ -1,5 +1,10 @@
# Changelog for commonmark-pandoc
+## 0.2.1
+
+- commonmark-pandoc.cabal: remove unneeded build-depend on containers.
+- Support wikilinks extension.
+
## 0.2.0.1
- Allow pandoc-types 1.22.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.0.1/commonmark-pandoc.cabal
new/commonmark-pandoc-0.2.1/commonmark-pandoc.cabal
--- old/commonmark-pandoc-0.2.0.1/commonmark-pandoc.cabal 2020-09-19
19:47:19.000000000 +0200
+++ new/commonmark-pandoc-0.2.1/commonmark-pandoc.cabal 2021-05-28
20:39:43.000000000 +0200
@@ -1,5 +1,5 @@
name: commonmark-pandoc
-version: 0.2.0.1
+version: 0.2.1
synopsis: Bridge between commonmark and pandoc AST.
description: This library provides typeclasses for rendering
commonmark to Pandoc types.
@@ -8,7 +8,7 @@
bug-reports: https://github.com/jgm/commonmark-hs/issues
author: John MacFarlane
maintainer: [email protected]
-copyright: 2018-2020 John MacFarlane
+copyright: 2018-2021 John MacFarlane
license: BSD3
license-file: LICENSE
build-type: Simple
@@ -27,11 +27,12 @@
src
build-depends:
base >= 4.9 && <5
- , commonmark >= 0.1 && < 0.2
- , commonmark-extensions >= 0.2 && < 0.3
+ , commonmark >= 0.2 && < 0.3
+ , commonmark-extensions >= 0.2.1 && < 0.3
, pandoc-types >= 1.21 && < 1.23
, text
- , containers
+ if impl(ghc >= 8.10)
+ ghc-options: -Wunused-packages
if impl(ghc >= 8.8)
ghc-options: -fwrite-ide-info -hiedir=.hie
exposed-modules:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/commonmark-pandoc-0.2.0.1/src/Commonmark/Pandoc.hs
new/commonmark-pandoc-0.2.1/src/Commonmark/Pandoc.hs
--- old/commonmark-pandoc-0.2.0.1/src/Commonmark/Pandoc.hs 2020-07-19
20:08:00.000000000 +0200
+++ new/commonmark-pandoc-0.2.1/src/Commonmark/Pandoc.hs 2021-05-28
20:19:08.000000000 +0200
@@ -23,6 +23,7 @@
import Commonmark.Entity (lookupEntity)
import Commonmark.Extensions.Math
import Commonmark.Extensions.Emoji
+import Commonmark.Extensions.Wikilinks
import Commonmark.Extensions.PipeTable
import Commonmark.Extensions.Strikethrough
import Commonmark.Extensions.Superscript
@@ -121,6 +122,9 @@
emoji kw t = Cm $ B.spanWith ("",["emoji"],[("data-emoji",kw)])
$ B.text t
+instance HasWikilinks (Cm b B.Inlines) where
+ wikilink t il = Cm $ B.link t "wikilink" $ unCm il
+
instance HasPipeTable (Cm a B.Inlines) (Cm a B.Blocks) where
pipeTable aligns headerCells rows =
Cm $ B.table B.emptyCaption colspecs