commit ghc-cmark for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2017-10-02 16:54:04

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Mon Oct  2 16:54:04 2017 rev:13 rq:530113 version:0.5.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2017-04-14 
13:37:26.117814591 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2017-10-02 
16:54:18.621493550 +0200
@@ -1,0 +2,20 @@
+Sat Sep 30 08:56:55 UTC 2017 - psim...@suse.com
+
+- Re-factor spec file to rely on the system's libcmark library by
+  default.
+
+- Work around erroneous library path advertised in libcmark's
+  pkg-config data. [boo#1061183]
+  
+---
+Thu Aug 17 03:03:08 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.6.
+  + Update to cmark 0.28.0.
+  
+---
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---

Old:

  cmark-0.5.5.1.tar.gz

New:

  cmark-0.5.6.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.ghJVMQ/_old  2017-10-02 16:54:19.337393065 +0200
+++ /var/tmp/diff_new_pack.ghJVMQ/_new  2017-10-02 16:54:19.341392504 +0200
@@ -17,31 +17,21 @@
 
 
 %global pkg_name cmark
-%if 0%{?suse_version} >= 1330
-%define is_tumble 1
-%endif
-# is Leap 42.2+ or SLE12SP2+
-%if 0%{?sle_version} >= 120200
-%define is_sp2up 1
-%endif
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.5.1
+Version:0.5.6
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause AND BSD-2-Clause AND MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?is_tumble} || 0%{?is_sp2up}
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcmark)
-%endif
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 %endif
@@ -49,35 +39,33 @@
 %description
 This package provides Haskell bindings for , the reference parser for , a fully
-specified variant of Markdown. It includes sources for libcmark (0.27.1) and
+specified variant of Markdown. It includes sources for libcmark (0.28.0) and
 does not require prior installation of the C library.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
-Requires(post): ghc-compiler = %{ghc_version}
-Requires(postun): ghc-compiler = %{ghc_version}
-%if 0%{?is_tumble} || 0%{?is_sp2up}
 Requires:   pkgconfig
 Requires:   pkgconfig(libcmark)
-%endif
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%if 0%{?is_tumble} || 0%{?is_sp2up}
-cabal-tweak-flagpkgconfig   True
-%endif
 
 %build
+%define cabal_configure_options -fpkgconfig
 %ghc_lib_build
 
 %install
 %ghc_lib_install
+# Drop erroneous library path that Cabal records in the package's config file. 
[boo#1061183]
+sed -i -e "s|%{_prefix}/%{_prefix}/|%{_prefix}/|g" 
%{buildroot}%{ghclibdir}/package.conf.d/%{pkg_name}*.conf
 
 %check
 %cabal_test
@@ -89,11 +77,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.md changelog
 
 %changelog

++ cmark-0.5.5.1.tar.gz -> cmark-0.5.6.tar.gz ++
 32084 lines of diff (skipped)




commit ghc-cmark for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2017-04-14 13:37:24

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Fri Apr 14 13:37:24 2017 rev:12 rq:485111 version:0.5.5.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2017-02-21 
13:45:23.338276735 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2017-04-14 
13:37:26.117814591 +0200
@@ -1,0 +2,5 @@
+Mon Mar 27 12:40:42 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.5.1 with cabal2obs.
+
+---

Old:

  cmark-0.5.5.tar.gz

New:

  cmark-0.5.5.1.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.C8zN4H/_old  2017-04-14 13:37:26.905703240 +0200
+++ /var/tmp/diff_new_pack.C8zN4H/_new  2017-04-14 13:37:26.905703240 +0200
@@ -26,7 +26,7 @@
 %endif
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.5
+Version:0.5.5.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause AND BSD-2-Clause AND MIT

++ cmark-0.5.5.tar.gz -> cmark-0.5.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.5/changelog new/cmark-0.5.5.1/changelog
--- old/cmark-0.5.5/changelog   2017-01-31 11:56:45.0 +0100
+++ new/cmark-0.5.5.1/changelog 2017-03-20 13:15:05.0 +0100
@@ -1,3 +1,7 @@
+cmark 0.5.5.1 (20 Mar 2017)
+
+  * Update version bound for HUnit.
+
 cmark 0.5.5 (31 Jan 2017)
 
   * Update to cmark 0.27.1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.5/cmark.cabal new/cmark-0.5.5.1/cmark.cabal
--- old/cmark-0.5.5/cmark.cabal 2017-01-31 11:58:28.0 +0100
+++ new/cmark-0.5.5.1/cmark.cabal   2017-03-20 13:14:11.0 +0100
@@ -1,5 +1,5 @@
 name:cmark
-version: 0.5.5
+version: 0.5.5.1
 synopsis:Fast, accurate CommonMark (Markdown) parser and renderer
 description:
   This package provides Haskell bindings for
@@ -104,6 +104,6 @@
   type:   exitcode-stdio-1.0
   main-is:test-cmark.hs
   hs-source-dirs: test
-  build-depends:  base, cmark, text, HUnit >= 1.2 && < 1.6
+  build-depends:  base, cmark, text, HUnit >= 1.2 && < 1.7
   ghc-options:-Wall -fno-warn-unused-do-bind -threaded
   default-language: Haskell98




commit ghc-cmark for openSUSE:Factory

2017-02-21 Thread root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2017-02-21 13:45:22

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-12-06 
14:24:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2017-02-21 
13:45:23.338276735 +0100
@@ -1,0 +2,5 @@
+Sun Feb  5 19:31:51 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.5 with cabal2obs.
+
+---

Old:

  cmark-0.5.4.tar.gz

New:

  cmark-0.5.5.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.JlpyU1/_old  2017-02-21 13:45:23.806210721 +0100
+++ /var/tmp/diff_new_pack.JlpyU1/_new  2017-02-21 13:45:23.806210721 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cmark
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -26,10 +26,10 @@
 %endif
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.4
+Version:0.5.5
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
-License:BSD-3-Clause and BSD-2-Clause and MIT
+License:BSD-3-Clause AND BSD-2-Clause AND MIT
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
@@ -49,7 +49,7 @@
 %description
 This package provides Haskell bindings for , the reference parser for , a fully
-specified variant of Markdown. It includes sources for libcmark (0.26.0) and
+specified variant of Markdown. It includes sources for libcmark (0.27.1) and
 does not require prior installation of the C library.
 
 %package devel

++ cmark-0.5.4.tar.gz -> cmark-0.5.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.4/README.md new/cmark-0.5.5/README.md
--- old/cmark-0.5.4/README.md   2016-11-18 22:29:55.0 +0100
+++ new/cmark-0.5.5/README.md   2017-01-31 11:57:26.0 +0100
@@ -3,7 +3,7 @@
 
 This package provides Haskell bindings for [libcmark], the reference
 parser for [CommonMark], a fully specified variant of Markdown.
-It includes sources for [libcmark] (version 0.27.0, implementing
+It includes sources for [libcmark] (version 0.27.1, implementing
 version 0.27 of the spec) and does not require prior installation of
 the C library.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.4/cbits/cmark_version.h 
new/cmark-0.5.5/cbits/cmark_version.h
--- old/cmark-0.5.4/cbits/cmark_version.h   2016-11-18 22:27:20.0 
+0100
+++ new/cmark-0.5.5/cbits/cmark_version.h   2017-01-31 11:53:56.0 
+0100
@@ -1,7 +1,7 @@
 #ifndef CMARK_VERSION_H
 #define CMARK_VERSION_H
 
-#define CMARK_VERSION ((0 << 16) | (27 << 8)  | 0)
-#define CMARK_VERSION_STRING "0.27.0"
+#define CMARK_VERSION ((0 << 16) | (27 << 8)  | 1)
+#define CMARK_VERSION_STRING "0.27.1"
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.4/changelog new/cmark-0.5.5/changelog
--- old/cmark-0.5.4/changelog   2016-11-18 22:26:18.0 +0100
+++ new/cmark-0.5.5/changelog   2017-01-31 11:56:45.0 +0100
@@ -1,3 +1,12 @@
+cmark 0.5.5 (31 Jan 2017)
+
+  * Update to cmark 0.27.1.
+  * Update version bounds for dependencies.
+
+cmark 0.5.4 (18 Nov 2016)
+
+  * Update to cmark 0.27.0.
+
 cmark 0.5.3.1 (16 Jul 2016)
 
   * Remove unnecessary typedef that caused problems with the build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.4/cmark.cabal new/cmark-0.5.5/cmark.cabal
--- old/cmark-0.5.4/cmark.cabal 2016-11-18 22:29:39.0 +0100
+++ new/cmark-0.5.5/cmark.cabal 2017-01-31 11:58:28.0 +0100
@@ -1,12 +1,12 @@
 name:cmark
-version: 0.5.4
+version: 0.5.5
 synopsis:Fast, accurate CommonMark (Markdown) parser and renderer
 description:
   This package provides Haskell bindings for
   , the reference
   parser for , a fully
   specified variant of Markdown. It 

commit ghc-cmark for openSUSE:Factory

2016-12-06 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-12-06 14:24:37

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-08-24 
10:07:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-12-06 
14:24:38.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov 22 16:06:43 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.4 with cabal2obs.
+
+---

Old:

  cmark-0.5.3.1.tar.gz

New:

  cmark-0.5.4.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.hIH3Bi/_old  2016-12-06 14:24:39.0 +0100
+++ /var/tmp/diff_new_pack.hIH3Bi/_new  2016-12-06 14:24:39.0 +0100
@@ -26,11 +26,11 @@
 %endif
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.3.1
+Version:0.5.4
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT
-Group:  System/Libraries
+Group:  Development/Languages/Other
 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
@@ -73,19 +73,15 @@
 cabal-tweak-flagpkgconfig   True
 %endif
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
 %cabal_test
 
-
 %post devel
 %ghc_pkg_recache
 

++ cmark-0.5.3.1.tar.gz -> cmark-0.5.4.tar.gz ++
 1719 lines of diff (skipped)




commit ghc-cmark for openSUSE:Factory

2016-08-24 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-08-24 10:07:30

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-07-21 
08:05:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-08-24 
10:07:32.0 +0200
@@ -1,0 +2,5 @@
+Fri Jul 22 06:03:09 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.3.1 revision 0 with cabal2obs.
+
+---

Old:

  cmark-0.5.2.1.tar.gz

New:

  cmark-0.5.3.1.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.LLsHAj/_old  2016-08-24 10:07:33.0 +0200
+++ /var/tmp/diff_new_pack.LLsHAj/_new  2016-08-24 10:07:33.0 +0200
@@ -26,7 +26,7 @@
 %endif
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.5.2.1
+Version:0.5.3.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT
@@ -34,7 +34,6 @@
 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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
@@ -46,12 +45,11 @@
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This package provides Haskell bindings for , the reference parser for , a fully
-specified variant of Markdown. It includes sources for libcmark (0.25.2) and
+specified variant of Markdown. It includes sources for libcmark (0.26.0) and
 does not require prior installation of the C library.
 
 %package devel
@@ -59,10 +57,10 @@
 Group:  Development/Libraries/Other
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
-Requires:   pkgconfig
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
 %if 0%{?is_tumble} || 0%{?is_sp2up}
+Requires:   pkgconfig
 Requires:   pkgconfig(libcmark)
 %endif
 
@@ -75,6 +73,7 @@
 cabal-tweak-flagpkgconfig   True
 %endif
 
+
 %build
 %ghc_lib_build
 
@@ -84,9 +83,7 @@
 
 
 %check
-%if %{with tests}
-%{cabal} test
-%endif
+%cabal_test
 
 
 %post devel

++ cmark-0.5.2.1.tar.gz -> cmark-0.5.3.1.tar.gz ++
 11684 lines of diff (skipped)




commit ghc-cmark for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-07-21 08:05:21

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-06-20 
11:06:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-07-21 
08:05:23.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:27:16 UTC 2016 - psim...@suse.com
+
+- Update to version 0.5.2.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.pCCQx7/_old  2016-07-21 08:05:24.0 +0200
+++ /var/tmp/diff_new_pack.pCCQx7/_new  2016-07-21 08:05:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-cmark
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -15,37 +15,32 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%global pkg_name cmark
 %if 0%{?suse_version} >= 1330
 %define is_tumble 1
 %endif
-
 # is Leap 42.2+ or SLE12SP2+
 %if 0%{?sle_version} >= 120200
 %define is_sp2up 1
 %endif
-
-%global pkg_name cmark
-
 %bcond_with tests
-
-Name:   ghc-cmark
+Name:   ghc-%{pkg_name}
 Version:0.5.2.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT
 Group:  System/Libraries
-
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?is_tumble} || 0%{?is_sp2up} 
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcmark)
 %endif
 %if %{with tests}
@@ -56,66 +51,17 @@
 %description
 This package provides Haskell bindings for , the reference parser for , a fully
-specified variant of Markdown. It includes sources for libcmark (0.19.0) and
+specified variant of Markdown. It includes sources for libcmark (0.25.2) and
 does not require prior installation of the C library.
 
-cmark provides the following advantages over existing Markdown libraries for
-Haskell:
-
-- Speed: Conversion speed is on par with the
- library. We were unable
-to measure precisely against , which raised a malloc error when compiled into our benchmark suite.
-Relative to other implementations: cmark was 82 times faster than
-, 59 times faster
-than , 105 times faster
-than , and 2.8 times faster
-than .
-
-- Memory footprint: Memory footprint is on par with
-. On one sample, the
-library uses a fourth the memory that
- uses, and less than a
-tenth the memory that  uses.
-
-- Robustness: cmark can handle whatever is thrown at it, without the
-exponential blowups in parsing time one can sometimes get with other libraries.
-(The input 'bench/full-sample.md', for example, causes both
- and
- to grind to a halt.)
-
-- Accuracy: cmark passes the CommonMark spec's suite of over 500 conformance
-tests.
-
-- Standardization: Since there is a spec and a comprehensive suite of tests, we
-can have a high degree of confidence that any two CommonMark implementations
-will behave the same. Thus, for example, one could use this library for
-server-side rendering and 
-for client-side previewing.
-
-- Ease of installation: cmark is portable and has minimal dependencies.
-
-cmark 

commit ghc-cmark for openSUSE:Factory

2016-06-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-06-20 11:06:42

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-05-25 
21:28:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-06-20 
11:06:44.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 14 13:28:16 UTC 2016 - mimi...@gmail.com
+
+- use system libcmark on SLE12SP2+ and Leap:42.2 
+
+---



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.gZrbA2/_old  2016-06-20 11:06:45.0 +0200
+++ /var/tmp/diff_new_pack.gZrbA2/_new  2016-06-20 11:06:45.0 +0200
@@ -15,6 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%if 0%{?suse_version} >= 1330
+%define is_tumble 1
+%endif
+
+# is Leap 42.2+ or SLE12SP2+
+%if 0%{?sle_version} >= 120200
+%define is_sp2up 1
+%endif
 
 %global pkg_name cmark
 
@@ -36,7 +44,7 @@
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-text-devel
-%if 0%{?suse_version} >= 1330
+%if 0%{?is_tumble} || 0%{?is_sp2up} 
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(libcmark)
 %endif
@@ -108,7 +116,7 @@
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
-%if 0%{?suse_version} >=1330
+%if 0%{?is_tumble} || 0%{?is_sp2up} 
 Requires:   pkgconfig(libcmark)
 %endif
 
@@ -118,7 +126,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%if 0%{?suse_version} >= 1330
+%if 0%{?is_tumble} || 0%{?is_sp2up}
 cabal-tweak-flagpkgconfig   True
 %endif
 




commit ghc-cmark for openSUSE:Factory

2016-05-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-05-25 21:28:23

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-04-22 
16:25:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-05-25 
21:28:30.0 +0200
@@ -1,0 +2,5 @@
+Mon May 23 08:49:14 UTC 2016 - mimi...@gmail.com
+
+- update to 0.5.2.1
+
+---

Old:

  cmark-0.5.2.tar.gz

New:

  cmark-0.5.2.1.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.REezUa/_old  2016-05-25 21:28:31.0 +0200
+++ /var/tmp/diff_new_pack.REezUa/_new  2016-05-25 21:28:31.0 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-cmark
-Version:0.5.2
+Version:0.5.2.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT

++ cmark-0.5.2.tar.gz -> cmark-0.5.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.2/changelog new/cmark-0.5.2.1/changelog
--- old/cmark-0.5.2/changelog   2016-03-26 21:36:02.0 +0100
+++ new/cmark-0.5.2.1/changelog 2016-05-22 17:45:23.0 +0200
@@ -1,3 +1,8 @@
+cmark 0.5.2.1 (22 May 2016)
+
+  * New .travis.yml - test with stack, cabal on many versions.
+  * Increase upper bound of base (Utku Demir).
+
 cmark 0.5.2 (26 Mar 2016)
 
   * Add flag to allow building with an installed libcmark (Jens Petersen).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.2/cmark.cabal new/cmark-0.5.2.1/cmark.cabal
--- old/cmark-0.5.2/cmark.cabal 2016-03-26 21:36:02.0 +0100
+++ new/cmark-0.5.2.1/cmark.cabal   2016-05-22 17:45:23.0 +0200
@@ -1,5 +1,5 @@
 name:cmark
-version: 0.5.2
+version: 0.5.2.1
 synopsis:Fast, accurate CommonMark (Markdown) parser and renderer
 description:
   This package provides Haskell bindings for
@@ -54,7 +54,7 @@
 
 library
   exposed-modules: CMark
-  build-depends:   base >=4.5 && < 4.9,
+  build-depends:   base >=4.5 && < 5.0,
text >= 1.0 && < 1.3,
bytestring
   if impl(ghc < 7.6)




commit ghc-cmark for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-04-22 16:24:50

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-03-31 
13:02:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-04-22 
16:25:16.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr 15 20:01:43 UTC 2016 - mimi...@gmail.com
+
+- use system libcmark on openSUSE:Tumbleweed 
+
+---



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.ujXkKO/_old  2016-04-22 16:25:17.0 +0200
+++ /var/tmp/diff_new_pack.ujXkKO/_new  2016-04-22 16:25:17.0 +0200
@@ -36,6 +36,10 @@
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-text-devel
+%if 0%{?suse_version} >= 1330
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(libcmark)
+%endif
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 %endif
@@ -104,6 +108,9 @@
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
+%if 0%{?suse_version} >=1330
+Requires:   pkgconfig(libcmark)
+%endif
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
@@ -111,6 +118,9 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+%if 0%{?suse_version} >= 1330
+cabal-tweak-flagpkgconfig   True
+%endif
 
 %build
 %ghc_lib_build




commit ghc-cmark for openSUSE:Factory

2016-03-31 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-03-31 13:02:35

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2016-02-05 
00:31:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-03-31 
13:02:37.0 +0200
@@ -1,0 +2,7 @@
+Tue Mar 29 06:55:28 UTC 2016 - mimi...@gmail.com
+
+- update to 0.5.2
+* Add flag to allow building with an installed libcmark (Jens Petersen).
+* Updated to libcmark 0.25.2.
+
+---

Old:

  cmark-0.5.1.tar.gz

New:

  cmark-0.5.2.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.TiilDK/_old  2016-03-31 13:02:38.0 +0200
+++ /var/tmp/diff_new_pack.TiilDK/_new  2016-03-31 13:02:38.0 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-cmark
-Version:0.5.1
+Version:0.5.2
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT

++ cmark-0.5.1.tar.gz -> cmark-0.5.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.1/README.md new/cmark-0.5.2/README.md
--- old/cmark-0.5.1/README.md   2016-01-23 06:14:38.0 +0100
+++ new/cmark-0.5.2/README.md   2016-03-26 21:36:02.0 +0100
@@ -3,8 +3,8 @@
 
 This package provides Haskell bindings for [libcmark], the reference
 parser for [CommonMark], a fully specified variant of Markdown.
-It includes sources for [libcmark] (version 0.23.0, implementing
-version 0.23 of the spec) and does not require prior installation of
+It includes sources for [libcmark] (version 0.25.2, implementing
+version 0.25 of the spec) and does not require prior installation of
 the C library.
 
 cmark provides the following advantages over existing Markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmark-0.5.1/cbits/blocks.c 
new/cmark-0.5.2/cbits/blocks.c
--- old/cmark-0.5.1/cbits/blocks.c  2016-01-23 06:14:38.0 +0100
+++ new/cmark-0.5.2/cbits/blocks.c  2016-03-26 21:36:02.0 +0100
@@ -1,3 +1,10 @@
+/**
+ * Block parsing implementation.
+ *
+ * For a high-level overview of the block parsing process,
+ * see http://spec.commonmark.org/0.24/#phase-1-block-structure
+ */
+
 #include 
 #include 
 #include 
@@ -17,12 +24,20 @@
 #define CODE_INDENT 4
 #define TAB_STOP 4
 
+#ifndef MIN
+#define MIN(x, y) ((x < y) ? x : y)
+#endif
+
 #define peek_at(i, n) (i)->data[n]
 
-static inline bool S_is_line_end_char(char c) {
+static CMARK_INLINE bool S_is_line_end_char(char c) {
   return (c == '\n' || c == '\r');
 }
 
+static CMARK_INLINE bool S_is_space_or_tab(char c) {
+  return (c == ' ' || c == '\t');
+}
+
 static void S_parser_feed(cmark_parser *parser, const unsigned char *buffer,
   size_t len, bool eof);
 
@@ -70,10 +85,12 @@
   parser->first_nonspace_column = 0;
   parser->indent = 0;
   parser->blank = false;
+  parser->partially_consumed_tab = false;
   parser->curline = line;
   parser->last_line_length = 0;
   parser->linebuf = buf;
   parser->options = options;
+  parser->last_buffer_ended_with_cr = false;
 
   return parser;
 }
@@ -110,7 +127,7 @@
   return true;
 }
 
-static inline bool can_contain(cmark_node_type parent_type,
+static CMARK_INLINE bool can_contain(cmark_node_type parent_type,
cmark_node_type child_type) {
   return (parent_type == CMARK_NODE_DOCUMENT ||
   parent_type == CMARK_NODE_BLOCK_QUOTE ||
@@ -118,15 +135,32 @@
   (parent_type == CMARK_NODE_LIST && child_type == CMARK_NODE_ITEM));
 }
 
-static inline bool accepts_lines(cmark_node_type block_type) {
+static CMARK_INLINE bool accepts_lines(cmark_node_type block_type) {
   return (block_type == CMARK_NODE_PARAGRAPH ||
   block_type == CMARK_NODE_HEADING ||
   block_type == CMARK_NODE_CODE_BLOCK);
 }
 
-static void add_line(cmark_node *node, cmark_chunk *ch, bufsize_t offset) {
+static CMARK_INLINE bool contains_inlines(cmark_node_type block_type) {
+  return (block_type == CMARK_NODE_PARAGRAPH ||
+  block_type == CMARK_NODE_HEADING);
+}
+
+static void add_line(cmark_node *node, cmark_chunk *ch, cmark_parser *parser) {
+  int chars_to_tab;
+  int i;
   assert(node->open);
-  cmark_strbuf_put(>string_content, ch->data + offset, ch->len - offset);
+  if (parser->partially_consumed_tab) {
+parser->offset += 1; 

commit ghc-cmark for openSUSE:Factory

2016-02-04 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2016-02-05 00:31:22

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2015-09-02 
00:36:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-02-05 
00:31:25.0 +0100
@@ -1,0 +2,18 @@
+Sun Jan 24 10:13:13 UTC 2016 - mimi...@gmail.com
+
+-  update to 0.5.1
+* Updated to libcmark 0.24.1.
+
+---
+Sat Jan 23 09:16:47 UTC 2016 - mimi...@gmail.com
+
+- update to 0.5.0
+* Updated to libcmark 0.23.0.
+* API changes:
+ + Added `OnEnter` and `OnExit` types.
+ + In `NodeType`, `HRULE` is now `THEMATIC_BREAK`,
+  `HTML` is `HTML_BLOCK`, `INLINE_HTML` is
+  `HTML_INLINE`, `HEADER` is `HEADING`.  New
+  constructors: `CUSTOM_INLINE`, `CUSTOM_BLOCK`.
+
+---

Old:

  cmark-0.4.1.tar.gz

New:

  cmark-0.5.1.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.mt28bK/_old  2016-02-05 00:31:25.0 +0100
+++ /var/tmp/diff_new_pack.mt28bK/_new  2016-02-05 00:31:25.0 +0100
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-cmark
-Version:0.4.1
+Version:0.5.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
 License:BSD-3-Clause and BSD-2-Clause and MIT

++ cmark-0.4.1.tar.gz -> cmark-0.5.1.tar.gz ++
 39791 lines of diff (skipped)




commit ghc-cmark for openSUSE:Factory

2015-09-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2015-09-02 00:36:03

Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)


Package is "ghc-cmark"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes  2015-08-23 
17:38:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2015-09-02 
00:36:03.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 31 07:35:59 UTC 2015 - mimi...@gmail.com
+
+- update to 0.4.1
+* Updated to libcmark 0.22.0
+* Bumped version bounds for HUnit.
+
+---

Old:

  cmark-0.4.0.1.tar.gz

New:

  cmark-0.4.1.tar.gz



Other differences:
--
++ ghc-cmark.spec ++
--- /var/tmp/diff_new_pack.NGLDPS/_old  2015-09-02 00:36:04.0 +0200
+++ /var/tmp/diff_new_pack.NGLDPS/_new  2015-09-02 00:36:04.0 +0200
@@ -15,17 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name cmark
 
 %bcond_with tests
 
 Name:   ghc-cmark
-Version:0.4.0.1
+Version:0.4.1
 Release:0
 Summary:Fast, accurate CommonMark (Markdown) parser and renderer
+License:BSD-3-Clause and BSD-2-Clause and MIT
 Group:  System/Libraries
 
-License:BSD-3-Clause and BSD-2-Clause and MIT
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -111,37 +112,29 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
 %if %{with tests}
 %cabal test
 %endif
 
-
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 %doc README.md
 
-
 %changelog

++ cmark-0.4.0.1.tar.gz -> cmark-0.4.1.tar.gz ++
 61680 lines of diff (skipped)