commit ghc-pandoc-types for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2020-10-23 15:14:27

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


Package is "ghc-pandoc-types"

Fri Oct 23 15:14:27 2020 rev:31 rq:842757 version:1.22

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2020-08-28 21:35:51.180737302 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3463/ghc-pandoc-types.changes  
2020-10-23 15:14:29.642138483 +0200
@@ -1,0 +2,49 @@
+Tue Oct 13 07:05:30 UTC 2020 - psim...@suse.com
+
+- Update pandoc-types to version 1.22.
+  [1.22]
+
+* Deprecate isNull from Builder:  null can serve just as well (#67).
+  Use null instead of isNull in Arbitrary (Christian Despres, #84).
+
+* Use untagged JSON encoding for single-constructor types (#75, #76,
+  Christian Despres).  All of the single constructor types related
+  to Table are now represented in JSON either as arrays (for
+  multi-argument constructors) or as the representation of the
+  inner type (for single argument constructors). This behaviour
+  for newtype-defined and multi-argument non-record types is now
+  consistent across the entire JSON interface, with the exception
+  of Pandoc itself (which is represented as a JSON object with
+  additional metadata). Multi-argument records (of which Citation
+  is the only example) are still represented as objects with the
+  record accessors as keys.
+
+* The Meta and Citation types now use derived JSON serialization (newtype
+  and generic, respectively). The format remains the same as before
+  (Christian Despres).
+
+* New serialization tests now test that Meta and the Table types are
+  encoded properly in JSON (Christian Despres).
+
+* Use TH To/FromJSON instances (Christian Despres).
+
+* Remove unused Legacy modules (#80, Despres).
+  They are not exported, and are not used internally.
+
+* Change the table builder to permit looser intermediate table heads (#77,
+  Christian Despres).
+
+  The table builder (and the normalizeTableBody function) now permit
+  cells in the intermediate head of a TableBody to extend past the
+  RowHeadColumns. This allows for intermediate tables to have
+  subheadings that extend across the entire table.
+
+  Formerly the table builder would treat the intermediate head like the
+  intermediate body, and clip or drop cells that extended past the row
+  head.
+
+* Update QuickCheck lower bound.
+
+* Fix redundant pattern match.
+
+---

Old:

  pandoc-types-1.21.tar.gz

New:

  pandoc-types-1.22.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.JQ7svx/_old  2020-10-23 15:14:30.262138782 +0200
+++ /var/tmp/diff_new_pack.JQ7svx/_new  2020-10-23 15:14:30.266138784 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.21
+Version:1.22
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only

++ pandoc-types-1.21.tar.gz -> pandoc-types-1.22.tar.gz ++
 5627 lines of diff (skipped)




commit ghc-pandoc-types for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2020-08-28 21:35:48

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


Package is "ghc-pandoc-types"

Fri Aug 28 21:35:48 2020 rev:30 rq:829371 version:1.21

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2020-07-09 13:19:57.429381417 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3399/ghc-pandoc-types.changes  
2020-08-28 21:35:51.180737302 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:38 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.72Etsz/_old  2020-08-28 21:35:52.240737804 +0200
+++ /var/tmp/diff_new_pack.72Etsz/_new  2020-08-28 21:35:52.248737808 +0200
@@ -73,7 +73,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-pandoc-types for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2020-07-09 13:19:29

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


Package is "ghc-pandoc-types"

Thu Jul  9 13:19:29 2020 rev:29 rq:819584 version:1.21

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2020-06-19 17:16:34.846745139 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3060/ghc-pandoc-types.changes  
2020-07-09 13:19:57.429381417 +0200
@@ -1,0 +2,42 @@
+Tue Jun 23 09:15:18 UTC 2020 - psim...@suse.com
+
+- Update pandoc-types to version 1.21.
+  [1.21]
+
+* Add Underline constructor (#68, Vaibhav Sagar).
+
+* Improve table types to allow col, rowspans and more (#65, Christian
+  Despres).  The additions include modification of the Block type, some
+  newtypes related to tables, and changes to the table builders.  The table
+  builder is now aware of the new Table constructor, and normalizes the
+  input table appropriately, so that when laid onto a grid the resulting
+  table has no empty spaces, overlapping cells, or cells that extend beyond
+  their section boundary.
+
+  Three properties of normalization are checked:
+
+  - Normalization is idempotent.
+  - Each row of a normalized table is an initial segment of the
+corresponding row in the unnormalized table, modulo changed cell
+dimensions, dropped cells, and padding with empty cells. This is only
+checked for the first row of the TableBody, however, due to row head
+difficulties.
+  - The sum of the cell lengths in the first row of every
+normalized table section is always equal to the total table width.
+
+  `simpleTable` has been changed so that a null header list becomes a
+  TableHead with a null body, not a TableHead with a single empty row.
+
+* Bump QuickCheck upper bound.
+
+* Change lower bound for QuickCheck to 2.10 (needed for `liftShrink2`).
+
+* Small code quality improvements (Joseph C. Sible, #69).
+
+* Allow aeson 1.5 (#72, Felix Yan).
+
+* Fixed documentation typo (Merlin Göttlinger).
+
+* Add COMPLETE pragmas to the pattern definitions (Christian Despres).
+
+---

Old:

  pandoc-types-1.20.tar.gz

New:

  pandoc-types-1.21.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.NRX8Uu/_old  2020-07-09 13:19:58.969386284 +0200
+++ /var/tmp/diff_new_pack.NRX8Uu/_new  2020-07-09 13:19:58.973386296 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.20
+Version:1.21
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only
@@ -74,8 +74,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver QuickCheck '< 2.14' '< 3'
-cabal-tweak-dep-ver aeson '< 1.5' '< 2'
 
 %build
 %ghc_lib_build

++ pandoc-types-1.20.tar.gz -> pandoc-types-1.21.tar.gz ++
 2063 lines of diff (skipped)




commit ghc-pandoc-types for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2020-06-19 17:16:28

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


Package is "ghc-pandoc-types"

Fri Jun 19 17:16:28 2020 rev:28 rq:815145 version:1.20

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2020-05-11 13:36:06.416457656 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3606/ghc-pandoc-types.changes  
2020-06-19 17:16:34.846745139 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:26 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.SxqswC/_old  2020-06-19 17:16:37.206751824 +0200
+++ /var/tmp/diff_new_pack.SxqswC/_new  2020-06-19 17:16:37.210751835 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -75,6 +75,7 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 cabal-tweak-dep-ver QuickCheck '< 2.14' '< 3'
+cabal-tweak-dep-ver aeson '< 1.5' '< 2'
 
 %build
 %ghc_lib_build




commit ghc-pandoc-types for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2020-05-11 13:35:36

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


Package is "ghc-pandoc-types"

Mon May 11 13:35:36 2020 rev:27 rq:801038 version:1.20

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2019-12-27 13:55:53.420731417 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.2738/ghc-pandoc-types.changes  
2020-05-11 13:36:06.416457656 +0200
@@ -1,0 +2,6 @@
+Thu May  7 07:48:19 UTC 2020 - Peter Simons 
+
+- Drop obsolete %setup hack to work around a missing Setup.hs file.
+  New ghc-rpm-macros do this automatically.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.jmvsri/_old  2020-05-11 13:36:07.176459250 +0200
+++ /var/tmp/diff_new_pack.jmvsri/_new  2020-05-11 13:36:07.176459250 +0200
@@ -74,6 +74,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cabal-tweak-dep-ver QuickCheck '< 2.14' '< 3'
 
 %build
 %ghc_lib_build




commit ghc-pandoc-types for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2019-12-27 13:55:50

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


Package is "ghc-pandoc-types"

Fri Dec 27 13:55:50 2019 rev:26 rq:759465 version:1.20

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2019-10-18 14:34:27.848078337 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.6675/ghc-pandoc-types.changes  
2019-12-27 13:55:53.420731417 +0100
@@ -1,0 +2,63 @@
+Wed Nov 13 03:02:28 UTC 2019 - psim...@suse.com
+
+- Update pandoc-types to version 1.20.
+  [1.20]
+
+* Change all uses of String in type definitions to strict Text
+  (Christian Despres) [API change].  The MetaValue instances using String
+  have been kept, and parallel ones using Text were added.
+
+* Remove the Arbitrary Text orphan instance (Christian Despres).
+  This instance should not have been in the Text.Pandoc.Arbitrary, since
+  it would have been exported with the rest of the instances in that
+  module. Instead, more shrink* functions were added to compensate for
+  the absence of this instance.
+
+* Add Text.Pandoc.Legacy.Definition (Christian Despres).
+  To ease the transition to Text, this module provides an interface
+  compatible with the String one, so that any unqualified imports of
+  Text.Pandoc.Definition in other packages can be replaced by
+  Text.Pandoc.Legacy.Definition without other code changes. This is done
+  with PatternSynonyms.
+
+  Some of the constructors of the types Meta, MetaValue, Block, Inline,
+  Format, and Citation required PatternSynonym handling. The Attr and
+  Target types had to be redefined, and certain functions had to be
+  rewritten to handle String or the old Attr and Target types in this
+  module. This module otherwise exports the definitions in
+  Text.Pandoc.Definition unchanged.
+
+  This is not a perfect drop-in replacement, since some imports like
+  Inline(..) will no longer work. This may also cause incomplete pattern
+  warnings when used, since the coverage checker does not seem to be
+  aware of PatternSynonyms.
+
+* Add Text.Pandoc.Legacy.Builder (Christian Despres).
+  Like Text.Pandoc.Legacy.Definition, this modules provides a
+  compatibility interface while the transition to Text takes
+  place. Unlike that module, this module only requires redefining the
+  ToMetaValue and HasMeta classes and a few functions so that they use
+  the old types. No PatternSynonyms are required.
+
+* Change Semigroup/Monoid instance for Meta.
+  Previously `<>` was left-biased, so if meta1 and meta2 both
+  contained a field 'foo', the value from meta1 would be retained
+  in `meta1 <> meta2`, and the value from meta2 ignored.
+  This is counterintuitive and doesn't work well with pandoc;
+  for example, we want to be able to override a value in an
+  earlier `--metadata-file` with a later one on the command line.
+
+  It also makes the behavior of metadata more like other
+  things (such as reference links, where later definitions
+  take precedence over earlier ones).
+
+  Note that this change may break some current workflows,
+  if one is relying on metadata fields that occur later in
+  a document to be overridden by those occurring earlier.
+
+---
+Fri Nov  8 16:14:21 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  pandoc-types-1.17.6.1.tar.gz

New:

  pandoc-types-1.20.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.JPTgaB/_old  2019-12-27 13:55:55.312732331 +0100
+++ /var/tmp/diff_new_pack.JPTgaB/_new  2019-12-27 13:55:55.316732333 +0100
@@ -19,11 +19,10 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.6.1
+Version:1.20
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only
-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
@@ -34,6 +33,7 @@
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
+BuildRequires:  ghc-text-devel
 BuildRequires:  

commit ghc-pandoc-types for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2019-10-18 14:34:26

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


Package is "ghc-pandoc-types"

Fri Oct 18 14:34:26 2019 rev:25 rq:737207 version:1.17.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2019-08-29 17:21:50.643324216 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.2352/ghc-pandoc-types.changes  
2019-10-18 14:34:27.848078337 +0200
@@ -1,0 +2,8 @@
+Wed Sep 25 02:02:22 UTC 2019 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.6.1.
+  [1.17.6.1]
+
+* Relax version bound for string-qq.
+
+---

Old:

  pandoc-types-1.17.6.tar.gz

New:

  pandoc-types-1.17.6.1.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.4f6sjO/_old  2019-10-18 14:34:28.744076004 +0200
+++ /var/tmp/diff_new_pack.4f6sjO/_new  2019-10-18 14:34:28.748075993 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.6
+Version:1.17.6.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only

++ pandoc-types-1.17.6.tar.gz -> pandoc-types-1.17.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.6/changelog 
new/pandoc-types-1.17.6.1/changelog
--- old/pandoc-types-1.17.6/changelog   2019-08-23 20:04:52.0 +0200
+++ new/pandoc-types-1.17.6.1/changelog 2019-09-24 18:17:32.0 +0200
@@ -1,3 +1,8 @@
+[1.17.6.1]
+
+
+  * Relax version bound for string-qq.
+
 [1.17.6]
 
   * Walk: export walk and query helpers (Albert Krewinkel) [API change].
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.6/pandoc-types.cabal 
new/pandoc-types-1.17.6.1/pandoc-types.cabal
--- old/pandoc-types-1.17.6/pandoc-types.cabal  2019-08-23 20:00:39.0 
+0200
+++ new/pandoc-types-1.17.6.1/pandoc-types.cabal2019-09-24 
18:16:57.0 +0200
@@ -1,5 +1,5 @@
 Name:pandoc-types
-Version: 1.17.6
+Version: 1.17.6.1
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -75,7 +75,7 @@
test-framework-quickcheck2 >= 0.2.9 && < 0.4,
QuickCheck >= 2.4 && < 2.14,
HUnit >= 1.2 && < 1.7,
-   string-qq == 0.0.2
+   string-qq >= 0.0.2 && < 0.1
   ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -O2
 
 benchmark benchmark-pandoc-types




commit ghc-pandoc-types for openSUSE:Factory

2019-08-29 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2019-08-29 17:21:48

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


Package is "ghc-pandoc-types"

Thu Aug 29 17:21:48 2019 rev:24 rq:726812 version:1.17.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2019-06-19 21:12:44.818762710 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.7948/ghc-pandoc-types.changes  
2019-08-29 17:21:50.643324216 +0200
@@ -1,0 +2,16 @@
+Sat Aug 24 02:01:25 UTC 2019 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.6.
+  [1.17.6]
+
+* Walk: export walk and query helpers (Albert Krewinkel) [API change].
+  The `walk*M` and `query*` functions are helpful when defining new
+  `Walkable` instances.
+* Allow QuickCheck 2.13.
+* Document meaning of Int in ListAttributes (#45).
+* Update copyright year spans to include 2019 (Albert Krewinkel).
+* Remove CPP instructions for GHC versions < 7.10 (Albert Krewinkel).
+*  update list of GHC versions used for testing (Albert Krewinkel).
+* Fix compiler and hlint warnings (Pete Ryland).
+
+---

Old:

  pandoc-types-1.17.5.4.tar.gz
  pandoc-types.cabal

New:

  pandoc-types-1.17.6.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.P3JLLH/_old  2019-08-29 17:21:51.091324142 +0200
+++ /var/tmp/diff_new_pack.P3JLLH/_new  2019-08-29 17:21:51.095324141 +0200
@@ -19,14 +19,13 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.5.4
+Version:1.17.6
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -76,7 +75,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ pandoc-types-1.17.5.4.tar.gz -> pandoc-types-1.17.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.4/LICENSE 
new/pandoc-types-1.17.6/LICENSE
--- old/pandoc-types-1.17.5.4/LICENSE   2018-10-23 19:04:13.0 +0200
+++ new/pandoc-types-1.17.6/LICENSE 2019-08-23 20:00:14.0 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2006-2016, John MacFarlane
+Copyright (c) 2006-2019, John MacFarlane
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.4/Text/Pandoc/Arbitrary.hs 
new/pandoc-types-1.17.6/Text/Pandoc/Arbitrary.hs
--- old/pandoc-types-1.17.5.4/Text/Pandoc/Arbitrary.hs  2018-10-23 
19:04:13.0 +0200
+++ new/pandoc-types-1.17.6/Text/Pandoc/Arbitrary.hs2019-08-23 
20:00:14.0 +0200
@@ -1,5 +1,5 @@
 {-# OPTIONS_GHC -fno-warn-orphans #-}
-{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, ScopedTypeVariables #-}
+{-# LANGUAGE FlexibleInstances, ScopedTypeVariables #-}
 -- provides Arbitrary instance for Pandoc types
 module Text.Pandoc.Arbitrary ()
 where
@@ -16,9 +16,9 @@
 arbAttr :: Gen Attr
 arbAttr = do
   id' <- elements ["","loc"]
-  classes <- elements [[],["haskell"],["c","numberLines"]]
+  classes' <- elements [[],["haskell"],["c","numberLines"]]
   keyvals <- elements [[],[("start","22")],[("a","11"),("b_2","a b c")]]
-  return (id',classes,keyvals)
+  return (id',classes',keyvals)
 
 instance Arbitrary Inlines where
   arbitrary = (fromList :: [Inline] -> Inlines) <$> arbitrary
@@ -129,7 +129,7 @@
   , (10, Code <$> arbAttr <*> realString)
   , (5,  elements [ RawInline (Format "html") ""
   , RawInline (Format "latex") 
"\\my{command}" ])
-  ] ++ [ x | x <- nesters, n > 1]
+  ] ++ [ x | n > 1, x <- nesters]
where nesters = [ (10, Emph <$> arbInlines (n-1))
, (10, Strong <$> arbInlines (n-1))
, (10, Strikeout <$> arbInlines (n-1))
@@ -205,7 +205,7 @@
<*> pure nullAttr
<*> 

commit ghc-pandoc-types for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2019-06-19 21:11:30

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


Package is "ghc-pandoc-types"

Wed Jun 19 21:11:30 2019 rev:23 rq:710636 version:1.17.5.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2019-04-03 09:27:34.419802764 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.4811/ghc-pandoc-types.changes  
2019-06-19 21:12:44.818762710 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 14:29:15 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.KnwWzZ/_old  2019-06-19 21:12:45.318763196 +0200
+++ /var/tmp/diff_new_pack.KnwWzZ/_new  2019-06-19 21:12:45.318763196 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# 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




commit ghc-pandoc-types for openSUSE:Factory

2019-04-03 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2019-04-03 09:27:34

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


Package is "ghc-pandoc-types"

Wed Apr  3 09:27:34 2019 rev:22 rq:690197 version:1.17.5.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2018-11-09 07:52:55.311814230 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.25356/ghc-pandoc-types.changes 
2019-04-03 09:27:34.419802764 +0200
@@ -1,0 +2,5 @@
+Sun Mar 31 16:39:18 UTC 2019 - Peter Simons 
+
+- Update build instructions to allow latest version of QuickCheck.
+
+---

New:

  pandoc-types.cabal



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.j0TuMa/_old  2019-04-03 09:27:35.091803081 +0200
+++ /var/tmp/diff_new_pack.j0TuMa/_new  2019-04-03 09:27:35.091803081 +0200
@@ -26,6 +26,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ pandoc-types.cabal ++
Name:pandoc-types
Version: 1.17.5.4
x-revision: 1
Synopsis:Types for representing a structured document
Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
 structure, which is used by pandoc to represent
 structured documents.  This module used to live
 in the pandoc package, but starting with pandoc 1.7, it
 has been split off, so that other packages can use it
 without drawing in all of pandoc's dependencies, and
 pandoc itself can depend on packages (like citeproc-hs)
 that use them.
 .
 @Text.Pandoc.Builder@ provides functions for building
 up @Pandoc@ structures programmatically.
 .
 @Text.Pandoc.Generic@ provides generic functions for
 manipulating Pandoc documents.
 .
 @Text.Pandoc.Walk@ provides faster, nongeneric functions
 for manipulating Pandoc documents.
 .
 @Text.Pandoc.JSON@ provides functions for serializing
 and deserializing a @Pandoc@ structure to and from JSON.

Homepage:http://johnmacfarlane.net/pandoc
License: BSD3
License-file:LICENSE
Author:  John MacFarlane
Maintainer:  j...@berkeley.edu
Bug-Reports: https://github.com/jgm/pandoc-types/issues
Copyright:   (c) 2006-2017 John MacFarlane
Category:Text
Build-type:  Simple
Cabal-version:   >=1.8
Tested-With: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
Extra-Source-Files:  changelog
Source-repositoryhead
  type:  git
  location:  git://github.com/jgm/pandoc-types.git

Library
  Exposed-modules:   Text.Pandoc.Definition
 Text.Pandoc.Generic
 Text.Pandoc.Walk
 Text.Pandoc.Builder
 Text.Pandoc.JSON
 Text.Pandoc.Arbitrary
  Other-modules: Paths_pandoc_types
  Build-depends: base >= 4.5 && < 5,
 containers >= 0.3,
 syb >= 0.1 && < 0.8,
 ghc-prim >= 0.2,
 bytestring >= 0.9 && < 0.11,
 aeson >= 0.6.2 && < 1.5,
 transformers >= 0.2 && < 0.6,
 QuickCheck >= 2.4 && < 2.14
  if !impl(ghc >= 8.0)
Build-depends:   semigroups == 0.18.*
  if impl(ghc < 7.10)
Build-depends:   deepseq-generics >= 0.2 && < 0.3,
 deepseq >= 1.3 && < 1.5
  else
Build-depends:   deepseq >= 1.4.1 && < 1.5
  ghc-options:   -Wall

test-suite test-pandoc-types
  type:exitcode-stdio-1.0
  hs-source-dirs:  test
  main-is: test-pandoc-types.hs
  build-depends:   base,
   pandoc-types,
   syb,
   

commit ghc-pandoc-types for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2018-11-09 07:52:52

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


Package is "ghc-pandoc-types"

Fri Nov  9 07:52:52 2018 rev:21 rq:646361 version:1.17.5.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2018-10-25 09:08:03.778443310 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2018-11-09 07:52:55.311814230 +0100
@@ -1,0 +2,18 @@
+Mon Oct 29 09:03:16 UTC 2018 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.5.4.
+  [1.17.5.4]
+
+* Put NFData in scope for ghc < 7.10.
+* Reduce deepseq lower bound for ghc < 7.10.
+
+---
+Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.5.3.
+  [1.17.5.3]
+
+* For ghc < 7.10, constrain deepseq-generics to >= 0.2, which no
+  longer exprots NFData from deepseq. Add deepseq dependency.
+
+---

Old:

  pandoc-types-1.17.5.2.tar.gz

New:

  pandoc-types-1.17.5.4.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.kq5cPk/_old  2018-11-09 07:52:56.723812607 +0100
+++ /var/tmp/diff_new_pack.kq5cPk/_new  2018-11-09 07:52:56.731812598 +0100
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.5.2
+Version:1.17.5.4
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only

++ pandoc-types-1.17.5.2.tar.gz -> pandoc-types-1.17.5.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.2/Text/Pandoc/Definition.hs 
new/pandoc-types-1.17.5.4/Text/Pandoc/Definition.hs
--- old/pandoc-types-1.17.5.2/Text/Pandoc/Definition.hs 2018-10-19 
23:26:03.0 +0200
+++ new/pandoc-types-1.17.5.4/Text/Pandoc/Definition.hs 2018-10-23 
19:04:12.0 +0200
@@ -86,6 +86,7 @@
 #else
 import Data.Monoid (Monoid (mappend, mempty))
 import Control.Applicative ((<$>), (<*>))
+import Control.DeepSeq (NFData(..))
 import Control.DeepSeq.Generics
 #endif
 import Paths_pandoc_types (version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.2/changelog 
new/pandoc-types-1.17.5.4/changelog
--- old/pandoc-types-1.17.5.2/changelog 2018-10-19 23:26:03.0 +0200
+++ new/pandoc-types-1.17.5.4/changelog 2018-10-23 19:04:13.0 +0200
@@ -1,3 +1,13 @@
+[1.17.5.4]
+
+  * Put NFData in scope for ghc < 7.10.
+  * Reduce deepseq lower bound for ghc < 7.10.
+
+[1.17.5.3]
+
+  * For ghc < 7.10, constrain deepseq-generics to >= 0.2, which no
+longer exprots NFData from deepseq. Add deepseq dependency.
+
 [1.17.5.2]
 
   * Bump upper bound for deepseq-generics, QuickCheck, criterion.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.2/pandoc-types.cabal 
new/pandoc-types-1.17.5.4/pandoc-types.cabal
--- old/pandoc-types-1.17.5.2/pandoc-types.cabal2018-10-19 
23:26:03.0 +0200
+++ new/pandoc-types-1.17.5.4/pandoc-types.cabal2018-10-23 
19:04:13.0 +0200
@@ -1,5 +1,5 @@
 Name:pandoc-types
-Version: 1.17.5.2
+Version: 1.17.5.4
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -57,7 +57,8 @@
   if !impl(ghc >= 8.0)
 Build-depends:   semigroups == 0.18.*
   if impl(ghc < 7.10)
-Build-depends:   deepseq-generics >= 0.1 && < 0.3
+Build-depends:   deepseq-generics >= 0.2 && < 0.3,
+ deepseq >= 1.3 && < 1.5
   else
 Build-depends:   deepseq >= 1.4.1 && < 1.5
   ghc-options:   -Wall




commit ghc-pandoc-types for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2018-10-25 09:08:00

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


Package is "ghc-pandoc-types"

Thu Oct 25 09:08:00 2018 rev:20 rq:643498 version:1.17.5.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2018-07-24 17:20:58.959192179 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2018-10-25 09:08:03.778443310 +0200
@@ -1,0 +2,9 @@
+Sat Oct 20 02:01:51 UTC 2018 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.5.2.
+  [1.17.5.2]
+
+* Bump upper bound for deepseq-generics, QuickCheck, criterion.
+* Implement QuickCheck shrinking for Inlines and Blocks (Alexander Krotov).
+
+---

Old:

  pandoc-types-1.17.5.1.tar.gz

New:

  pandoc-types-1.17.5.2.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.XJog5t/_old  2018-10-25 09:08:04.578442832 +0200
+++ /var/tmp/diff_new_pack.XJog5t/_new  2018-10-25 09:08:04.578442832 +0200
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.5.1
+Version:1.17.5.2
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only

++ pandoc-types-1.17.5.1.tar.gz -> pandoc-types-1.17.5.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.5.1/Text/Pandoc/Arbitrary.hs 
new/pandoc-types-1.17.5.2/Text/Pandoc/Arbitrary.hs
--- old/pandoc-types-1.17.5.1/Text/Pandoc/Arbitrary.hs  2018-06-10 
19:21:52.0 +0200
+++ new/pandoc-types-1.17.5.2/Text/Pandoc/Arbitrary.hs  2018-10-19 
23:26:03.0 +0200
@@ -22,12 +22,95 @@
 
 instance Arbitrary Inlines where
   arbitrary = (fromList :: [Inline] -> Inlines) <$> arbitrary
+  shrink = fmap fromList . ((++) <$> shrink <*> flattenShrinkInlines) . toList
+where flattenShrinkInlines (x:xs) =
+let x' = flattenInline x
+in (if null x' then [] else [x' ++ xs]) ++ [x:xs' | xs' <- 
flattenShrinkInlines xs]
+  flattenShrinkInlines [] = []
+  flattenInline :: Inline -> [Inline]
+  flattenInline (Str _) = []
+  flattenInline (Emph ils) = ils
+  flattenInline (Strong ils) = ils
+  flattenInline (Strikeout ils) = ils
+  flattenInline (Superscript ils) = ils
+  flattenInline (Subscript ils) = ils
+  flattenInline (SmallCaps ils) = ils
+  flattenInline (Quoted _ ils) = ils
+  flattenInline (Cite _ ils) = ils
+  flattenInline Code{} = []
+  flattenInline Space = []
+  flattenInline SoftBreak = []
+  flattenInline LineBreak = []
+  flattenInline Math{} = []
+  flattenInline RawInline{} = []
+  flattenInline (Link _ ils _) = ils
+  flattenInline (Image _ ils _) = ils
+  flattenInline Note{} = []
+  flattenInline (Span _ ils) = ils
 
 instance Arbitrary Blocks where
   arbitrary = (fromList :: [Block] -> Blocks) <$> arbitrary
+  shrink = fmap fromList . ((++) <$> shrink <*> flattenShrinkBlocks) . toList
+where flattenShrinkBlocks (x:xs) =
+let x' = flattenBlock x
+in (if null x' then [] else [x' ++ xs]) ++ [x:xs' | xs' <- 
flattenShrinkBlocks xs]
+  flattenShrinkBlocks [] = []
+  flattenBlock :: Block -> [Block]
+  flattenBlock Plain{} = []
+  flattenBlock Para{} = []
+  flattenBlock (LineBlock lns) = [Para x | x <- lns]
+  flattenBlock CodeBlock{} = []
+  flattenBlock RawBlock{} = []
+  flattenBlock (BlockQuote blks) = blks
+  flattenBlock (OrderedList _ blksList) = concat blksList
+  flattenBlock (BulletList blksList) = concat blksList
+  flattenBlock (DefinitionList defs) = concat [Para ils:concat blks | 
(ils, blks) <- defs]
+  flattenBlock (Header _ _ ils) = [Para ils]
+  flattenBlock HorizontalRule = []
+  flattenBlock (Table caption _ _ cells rows) = Para caption : concat 
(concat $ cells:rows)
+  flattenBlock (Div _ blks) = blks
+  flattenBlock Null = []
+
+shrinkInlineList :: [Inline] -> [[Inline]]

commit ghc-pandoc-types for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2018-07-24 17:20:57

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


Package is "ghc-pandoc-types"

Tue Jul 24 17:20:57 2018 rev:19 rq:623824 version:1.17.5.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2018-05-30 12:26:39.375620583 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2018-07-24 17:20:58.959192179 +0200
@@ -1,0 +2,25 @@
+Wed Jul 18 14:26:35 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:32:07 UTC 2018 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.5.1.
+  [1.17.5.1]
+
+* Declare the ToMetaValue instance for String as OVERLAPPING (#46).
+
+  [1.17.5]
+
+* Bump upper bounds for aeson, base.
+* Allow building on older ghc versions (George Wilson).
+* Text.Pandoc.Arbitrary: generate SoftBreaks and LineBreaks
+  (Alexander Krotov).
+* Pad table rows up to maximum row length, to guarantee that
+  all rows have the same number of columns
+  (see jgm/pandoc#4059, Francesco Occhipinti).
+* Make String an instance of ToMetaValue (Alexander Krotov).
+
+---

Old:

  pandoc-types-1.17.4.2.tar.gz
  pandoc-types.cabal

New:

  pandoc-types-1.17.5.1.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.jP5bcD/_old  2018-07-24 17:20:59.655193072 +0200
+++ /var/tmp/diff_new_pack.jP5bcD/_new  2018-07-24 17:20:59.659193077 +0200
@@ -19,14 +19,13 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.4.2
+Version:1.17.5.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0-only
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -76,7 +75,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ pandoc-types-1.17.4.2.tar.gz -> pandoc-types-1.17.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.17.4.2/Text/Pandoc/Arbitrary.hs 
new/pandoc-types-1.17.5.1/Text/Pandoc/Arbitrary.hs
--- old/pandoc-types-1.17.4.2/Text/Pandoc/Arbitrary.hs  2017-09-13 
18:56:09.0 +0200
+++ new/pandoc-types-1.17.5.1/Text/Pandoc/Arbitrary.hs  2018-06-10 
19:21:52.0 +0200
@@ -4,7 +4,8 @@
 module Text.Pandoc.Arbitrary ()
 where
 import Test.QuickCheck
-import Control.Monad (forM, liftM, liftM2)
+import Control.Applicative (Applicative ((<*>), pure), (<$>))
+import Control.Monad (forM)
 import Text.Pandoc.Definition
 import Text.Pandoc.Builder
 
@@ -20,107 +21,88 @@
   return (id',classes,keyvals)
 
 instance Arbitrary Inlines where
-  arbitrary = liftM (fromList :: [Inline] -> Inlines) arbitrary
+  arbitrary = (fromList :: [Inline] -> Inlines) <$> arbitrary
 
 instance Arbitrary Blocks where
-  arbitrary = liftM (fromList :: [Block] -> Blocks) arbitrary
+  arbitrary = (fromList :: [Block] -> Blocks) <$> arbitrary
 
 instance Arbitrary Inline where
   arbitrary = resize 3 $ arbInline 2
 
 arbInlines :: Int -> Gen [Inline]
 arbInlines n = listOf1 (arbInline n) `suchThat` (not . startsWithSpace)
-  where startsWithSpace (Space:_) = True
-startsWithSpace_  = False
+  where startsWithSpace (Space:_) = True
+startsWithSpace (SoftBreak:_) = True
+-- Note: no LineBreak, similarly to Text.Pandoc.Builder (trimInlines)
+startsWithSpace _ = False
 
 -- restrict to 3 levels of nesting max; otherwise we get
 -- bogged down in indefinitely large structures
 arbInline :: Int -> Gen Inline
-arbInline n = frequency $ [ (60, liftM Str realString)
-  , (60, return Space)
-  , (10, liftM2 Code arbAttr realString)
+arbInline n = frequency $ [ (60, Str <$> realString)
+  , (40, pure Space)
+  , (10, pure SoftBreak)
+ 

commit ghc-pandoc-types for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2018-05-30 12:11:16

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


Package is "ghc-pandoc-types"

Wed May 30 12:11:16 2018 rev:18 rq:607851 version:1.17.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-09-15 22:03:05.929935224 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2018-05-30 12:26:39.375620583 +0200
@@ -1,0 +2,41 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update pandoc-types to version 1.17.4.2 revision 1.
+  * Import Semigroups when needed rather than using CPP.
+  * Bump criterion upper bound.
+  * Add Semigroup instances for Pandoc, Meta, Inlines, Blocks
+(if base >= 4.9).  This is needed for the library to compile
+with ghc 8.4.
+  * Bumped criterion upper bound.
+  * Bumped upper bounds for criterion and QuickCheck.
+  * Added Walkable instances for `[Inline] Inline` and `[Block] Block`.
+  * Provide default implementation for walk (Albert Krewinkel).
+The implementations for `walk` and `walkM` are very similar, so a
+default method is provided which implements the former in terms of the
+latter. This change should not affect performance, as the `Identity`
+functor, which is used in the default definition, is a newtype that
+should be eliminated at compile time.  (This requires a dependency
+on transformers for ghc 7.8.x.)
+  * Force optimizations when compiling Walk module (Albert Krewinkel).
+  * Add `Applicative m` to the context of walkM (Albert Krewinkel).
+The acceptance of AMP makes this a natural change.
+  * Add `Walkable [Block]` and `Walkable [Inline]` instances (Albert
+Krewinkel).
+  * Factored out duplicate code in Walk.
+  * Added benchmark.
+  * Text.Pandoc.JSON: Use `walk` instead of `bottomUp` in the
+`ToJSONFilter` instance for `a -> [a]`.  Note that behavior will be
+slightly different, since bottomUp's treatment of a function `[a] -> [a]`
+is to apply it to each sublist of a list, while walk applies it only to
+maximal sublists.  Usually the latter behavior is what is wanted, and the
+former can be simulated when needed.  But there may be existing filters
+that need to be rewritten in light of the new behavior.
+  * Better consistency in simpleTable and table (jgm/pandoc#3648).
+If `headers` is empty, we populate it with empty cells, using the rows
+to determine number of columns.  We also ensure that there are numcols
+alignments and column widths.
+  * Make sure Div and Span occur in Arbitrary instances.
+  * Bump dependency upper bounds.
+  * Removed unused mapConst.
+
+---

Old:

  pandoc-types-1.17.0.5.tar.gz

New:

  pandoc-types-1.17.4.2.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.xormqC/_old  2018-05-30 12:26:40.023598483 +0200
+++ /var/tmp/diff_new_pack.xormqC/_new  2018-05-30 12:26:40.027598347 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,14 +19,14 @@
 %global pkg_name pandoc-types
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.17.0.5
+Version:1.17.4.2
 Release:0
 Summary:Types for representing a structured document
-License:GPL-2.0
+License:GPL-2.0-only
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -35,6 +35,7 @@
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
+BuildRequires:  ghc-transformers-devel
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-string-qq-devel
@@ -93,7 +94,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc 

commit ghc-pandoc-types for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-09-15 22:03:04

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


Package is "ghc-pandoc-types"

Fri Sep 15 22:03:04 2017 rev:17 rq:525123 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-07-05 23:59:29.287359968 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-09-15 22:03:05.929935224 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.E98Vlu/_old  2017-09-15 22:03:06.749819697 +0200
+++ /var/tmp/diff_new_pack.E98Vlu/_new  2017-09-15 22:03:06.753819133 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
-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
 Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
@@ -35,7 +35,6 @@
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-string-qq-devel
@@ -65,7 +64,7 @@
 
 %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}
@@ -94,11 +93,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc changelog
 
 %changelog




commit ghc-pandoc-types for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-07-05 23:59:28

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


Package is "ghc-pandoc-types"

Wed Jul  5 23:59:28 2017 rev:16 rq:506844 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-06-04 01:54:52.342215950 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-07-05 23:59:29.287359968 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 20:51:53 UTC 2017 - psim...@suse.com
+
+- Update to version 1.17.0.5 revision 4.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.gWclXT/_old  2017-07-05 23:59:29.987261372 +0200
+++ /var/tmp/diff_new_pack.gWclXT/_new  2017-07-05 23:59:29.987261372 +0200
@@ -26,7 +26,7 @@
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel

++ pandoc-types.cabal ++
--- /var/tmp/diff_new_pack.gWclXT/_old  2017-07-05 23:59:30.035254611 +0200
+++ /var/tmp/diff_new_pack.gWclXT/_new  2017-07-05 23:59:30.035254611 +0200
@@ -1,6 +1,6 @@
 Name:pandoc-types
 Version: 1.17.0.5
-x-revision: 3
+x-revision: 4
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -72,7 +72,7 @@
test-framework >= 0.3 && < 0.9,
test-framework-hunit >= 0.2 && < 0.4,
test-framework-quickcheck2 >= 0.2.9 && < 0.4,
-   QuickCheck >= 2.4 && < 2.10,
+   QuickCheck >= 2.4 && < 2.11,
HUnit >= 1.2 && < 1.7,
string-qq == 0.0.2
   ghc-options: -threaded -rtsopts -with-rtsopts=-N




commit ghc-pandoc-types for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-06-04 01:54:51

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


Package is "ghc-pandoc-types"

Sun Jun  4 01:54:51 2017 rev:15 rq:494180 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-04-11 09:42:58.539622036 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-06-04 01:54:52.342215950 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 12:33:34 UTC 2017 - psim...@suse.com
+
+- Update to version 1.17.0.5 revision 3 with cabal2obs.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.aRicAT/_old  2017-06-04 01:54:52.830147014 +0200
+++ /var/tmp/diff_new_pack.aRicAT/_new  2017-06-04 01:54:52.834146449 +0200
@@ -26,7 +26,7 @@
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel

++ pandoc-types.cabal ++
--- /var/tmp/diff_new_pack.aRicAT/_old  2017-06-04 01:54:52.882139669 +0200
+++ /var/tmp/diff_new_pack.aRicAT/_new  2017-06-04 01:54:52.882139669 +0200
@@ -1,6 +1,6 @@
 Name:pandoc-types
 Version: 1.17.0.5
-x-revision: 2
+x-revision: 3
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -52,7 +52,7 @@
  syb >= 0.1 && < 0.8,
  ghc-prim >= 0.2,
  bytestring >= 0.9 && < 0.11,
- aeson >= 0.6.2 && < 1.2,
+ aeson >= 0.6.2 && < 1.3,
  QuickCheck >= 2
   if impl(ghc < 7.10)
 Build-depends:   deepseq-generics >= 0.1 && < 0.2
@@ -66,7 +66,7 @@
   build-depends:   base,
pandoc-types,
syb,
-   aeson >= 0.6.2 && < 1.2,
+   aeson >= 0.6.2 && < 1.3,
containers >= 0.3,
bytestring >= 0.9 && < 0.11,
test-framework >= 0.3 && < 0.9,




commit ghc-pandoc-types for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-04-11 09:42:58

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


Package is "ghc-pandoc-types"

Tue Apr 11 09:42:58 2017 rev:14 rq:485149 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-03-12 20:05:13.343378715 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-04-11 09:42:58.539622036 +0200
@@ -1,0 +2,5 @@
+Wed Mar 22 09:10:32 UTC 2017 - psim...@suse.com
+
+- Update to version 1.17.0.5 revision 2 with cabal2obs.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.Muv6Cj/_old  2017-04-11 09:42:59.283516951 +0200
+++ /var/tmp/diff_new_pack.Muv6Cj/_new  2017-04-11 09:42:59.287516387 +0200
@@ -26,7 +26,7 @@
 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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel

++ pandoc-types.cabal ++
--- /var/tmp/diff_new_pack.Muv6Cj/_old  2017-04-11 09:42:59.323511302 +0200
+++ /var/tmp/diff_new_pack.Muv6Cj/_new  2017-04-11 09:42:59.327510736 +0200
@@ -1,6 +1,6 @@
 Name:pandoc-types
 Version: 1.17.0.5
-x-revision: 1
+x-revision: 2
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -73,6 +73,6 @@
test-framework-hunit >= 0.2 && < 0.4,
test-framework-quickcheck2 >= 0.2.9 && < 0.4,
QuickCheck >= 2.4 && < 2.10,
-   HUnit >= 1.2 && < 1.6,
+   HUnit >= 1.2 && < 1.7,
string-qq == 0.0.2
   ghc-options: -threaded -rtsopts -with-rtsopts=-N




commit ghc-pandoc-types for openSUSE:Factory

2017-03-12 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-03-12 20:05:12

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


Package is "ghc-pandoc-types"

Sun Mar 12 20:05:12 2017 rev:13 rq:478546 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2017-03-03 17:51:30.258058199 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-03-12 20:05:13.343378715 +0100
@@ -1,0 +2,5 @@
+Thu Mar  2 10:44:37 UTC 2017 - psim...@suse.com
+
+- Update to version 1.17.0.5 revision 1 with cabal2obs.
+
+---

New:

  pandoc-types.cabal



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.HBG9y7/_old  2017-03-12 20:05:13.939294391 +0100
+++ /var/tmp/diff_new_pack.HBG9y7/_new  2017-03-12 20:05:13.943293825 +0100
@@ -26,6 +26,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ pandoc-types.cabal ++
Name:pandoc-types
Version: 1.17.0.5
x-revision: 1
Synopsis:Types for representing a structured document
Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
 structure, which is used by pandoc to represent
 structured documents.  This module used to live
 in the pandoc package, but starting with pandoc 1.7, it
 has been split off, so that other packages can use it
 without drawing in all of pandoc's dependencies, and
 pandoc itself can depend on packages (like citeproc-hs)
 that use them.
 .
 @Text.Pandoc.Builder@ provides functions for building
 up @Pandoc@ structures programmatically.
 .
 @Text.Pandoc.Generic@ provides generic functions for
 manipulating Pandoc documents.
 .
 @Text.Pandoc.Walk@ provides faster, nongeneric functions
 for manipulating Pandoc documents.
 .
 @Text.Pandoc.JSON@ provides functions for serializing
 and deserializing a @Pandoc@ structure to and from JSON.

Homepage:http://johnmacfarlane.net/pandoc
License: BSD3
License-file:LICENSE
Author:  John MacFarlane
Maintainer:  j...@berkeley.edu
Bug-Reports: https://github.com/jgm/pandoc-types/issues
Copyright:   (c) 2006-2015 John MacFarlane
Category:Text
Build-type:  Simple
Cabal-version:   >=1.8
Tested-With: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
Extra-Source-Files:  changelog
Source-repositoryhead
  type:  git
  location:  git://github.com/jgm/pandoc-types.git

Library
  Exposed-modules:   Text.Pandoc.Definition
 Text.Pandoc.Generic
 Text.Pandoc.Walk
 Text.Pandoc.Builder
 Text.Pandoc.JSON
 Text.Pandoc.Arbitrary
  Other-modules: Paths_pandoc_types
  Build-depends: base >= 4 && < 5,
 containers >= 0.3,
 syb >= 0.1 && < 0.8,
 ghc-prim >= 0.2,
 bytestring >= 0.9 && < 0.11,
 aeson >= 0.6.2 && < 1.2,
 QuickCheck >= 2
  if impl(ghc < 7.10)
Build-depends:   deepseq-generics >= 0.1 && < 0.2
  else
Build-depends:   deepseq >= 1.4.1 && < 1.5

test-suite test-pandoc-types
  type:exitcode-stdio-1.0
  hs-source-dirs:  test
  main-is: test-pandoc-types.hs
  build-depends:   base,
   pandoc-types,
   syb,
   aeson >= 0.6.2 && < 1.2,
   containers >= 0.3,
   bytestring >= 0.9 && < 0.11,
   test-framework >= 0.3 && < 0.9,
   

commit ghc-pandoc-types for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2017-03-03 17:51:29

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


Package is "ghc-pandoc-types"

Fri Mar  3 17:51:29 2017 rev:12 rq:461669 version:1.17.0.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2016-09-05 21:20:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2017-03-03 17:51:30.258058199 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:17:22 UTC 2017 - psim...@suse.com
+
+- Update to version 1.17.0.5 with cabal2obs.
+
+---

Old:

  pandoc-types-1.16.1.1.tar.gz

New:

  pandoc-types-1.17.0.5.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.vLkiBD/_old  2017-03-03 17:51:30.961958782 +0100
+++ /var/tmp/diff_new_pack.vLkiBD/_new  2017-03-03 17:51:30.965958217 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# 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
@@ -17,8 +17,9 @@
 
 
 %global pkg_name pandoc-types
+%bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.16.1.1
+Version:1.17.0.5
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
@@ -26,6 +27,7 @@
 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-QuickCheck-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -33,6 +35,13 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-string-qq-devel
+BuildRequires:  ghc-test-framework-devel
+BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-test-framework-quickcheck2-devel
+%endif
 
 %description
 'Text.Pandoc.Definition' defines the 'Pandoc' data structure, which is used by
@@ -73,6 +82,9 @@
 %install
 %ghc_lib_install
 
+%check
+%cabal_test
+
 %post devel
 %ghc_pkg_recache
 

++ pandoc-types-1.16.1.1.tar.gz -> pandoc-types-1.17.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.1.1/Text/Pandoc/Arbitrary.hs 
new/pandoc-types-1.17.0.5/Text/Pandoc/Arbitrary.hs
--- old/pandoc-types-1.16.1.1/Text/Pandoc/Arbitrary.hs  1970-01-01 
01:00:00.0 +0100
+++ new/pandoc-types-1.17.0.5/Text/Pandoc/Arbitrary.hs  2016-10-13 
20:56:56.0 +0200
@@ -0,0 +1,195 @@
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, ScopedTypeVariables #-}
+-- provides Arbitrary instance for Pandoc types
+module Text.Pandoc.Arbitrary ()
+where
+import Test.QuickCheck
+import Control.Monad (forM, liftM, liftM2)
+import Text.Pandoc.Definition
+import Text.Pandoc.Builder
+
+realString :: Gen String
+realString = resize 8 $ listOf $ frequency [ (9, elements [' '..'\127'])
+   , (1, elements ['\128'..'\']) ]
+
+arbAttr :: Gen Attr
+arbAttr = do
+  id' <- elements ["","loc"]
+  classes <- elements [[],["haskell"],["c","numberLines"]]
+  keyvals <- elements [[],[("start","22")],[("a","11"),("b_2","a b c")]]
+  return (id',classes,keyvals)
+
+instance Arbitrary Inlines where
+  arbitrary = liftM (fromList :: [Inline] -> Inlines) arbitrary
+
+instance Arbitrary Blocks where
+  arbitrary = liftM (fromList :: [Block] -> Blocks) arbitrary
+
+instance Arbitrary Inline where
+  arbitrary = resize 3 $ arbInline 2
+
+arbInlines :: Int -> Gen [Inline]
+arbInlines n = listOf1 (arbInline n) `suchThat` (not . startsWithSpace)
+  where startsWithSpace (Space:_) = True
+startsWithSpace_  = False
+
+-- restrict to 3 levels of nesting max; otherwise we get
+-- bogged down in indefinitely large structures
+arbInline :: Int -> Gen Inline
+arbInline n = frequency $ [ (60, liftM Str realString)
+  , (60, return Space)
+  , (10, liftM2 Code arbAttr realString)
+  , (5,  elements [ RawInline (Format "html") ""
+  , RawInline 

commit ghc-pandoc-types for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2016-09-05 21:20:30

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


Package is "ghc-pandoc-types"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2016-07-20 09:20:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2016-09-05 21:20:37.0 +0200
@@ -1,0 +2,5 @@
+Sun Aug 21 17:25:39 UTC 2016 - psim...@suse.com
+
+- Update to version 1.16.1.1 revision 0 with cabal2obs.
+
+---

Old:

  pandoc-types-1.16.1.tar.gz

New:

  pandoc-types-1.16.1.1.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.GPPA7E/_old  2016-09-05 21:20:39.0 +0200
+++ /var/tmp/diff_new_pack.GPPA7E/_new  2016-09-05 21:20:39.0 +0200
@@ -18,15 +18,14 @@
 
 %global pkg_name pandoc-types
 Name:   ghc-%{pkg_name}
-Version:1.16.1
+Version:1.16.1.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
-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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -34,7 +33,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 'Text.Pandoc.Definition' defines the 'Pandoc' data structure, which is used by
@@ -69,15 +67,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ pandoc-types-1.16.1.tar.gz -> pandoc-types-1.16.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.1/LICENSE 
new/pandoc-types-1.16.1.1/LICENSE
--- old/pandoc-types-1.16.1/LICENSE 2016-02-09 23:24:21.0 +0100
+++ new/pandoc-types-1.16.1.1/LICENSE   2016-08-20 22:37:38.0 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2013, John MacFarlane
+Copyright (c) 2006-2016, John MacFarlane
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.1/Text/Pandoc/Builder.hs 
new/pandoc-types-1.16.1.1/Text/Pandoc/Builder.hs
--- old/pandoc-types-1.16.1/Text/Pandoc/Builder.hs  2016-02-09 
23:24:21.0 +0100
+++ new/pandoc-types-1.16.1.1/Text/Pandoc/Builder.hs2016-08-20 
22:37:38.0 +0200
@@ -2,27 +2,42 @@
 DeriveDataTypeable, GeneralizedNewtypeDeriving, CPP, StandaloneDeriving,
 DeriveGeneric, DeriveTraversable #-}
 {-
-Copyright (C) 2010-2012 John MacFarlane 
+Copyright (C) 2010-2016 John MacFarlane
 
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above
+  copyright notice, this list of conditions and the following
+  disclaimer in the documentation and/or other materials provided
+  with the distribution.
+
+* Neither the name of John MacFarlane nor the names of other
+  contributors may be used to endorse or promote products derived
+  from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY 

commit ghc-pandoc-types for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2016-07-20 09:20:27

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


Package is "ghc-pandoc-types"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2016-02-17 12:11:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2016-07-20 09:20:31.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:27:24 UTC 2016 - psim...@suse.com
+
+- Update to version 1.16.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.v7qFBw/_old  2016-07-20 09:20:33.0 +0200
+++ /var/tmp/diff_new_pack.v7qFBw/_new  2016-07-20 09:20:33.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# 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
@@ -17,27 +17,23 @@
 
 
 %global pkg_name pandoc-types
-
-Name:   ghc-pandoc-types
+Name:   ghc-%{pkg_name}
 Version:1.16.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
 Group:  System/Libraries
-
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
+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-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-deepseq-devel
-BuildRequires:  ghc-deepseq-generics-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-syb-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
@@ -58,30 +54,30 @@
 
 'Text.Pandoc.JSON' provides functions for serializing and deserializing a
 'Pandoc' structure to and from JSON.
-#' help EMACS syntax highlighting
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Provides:   %{name}-static = %{version}-%{release}
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -94,5 +90,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc changelog
 
 %changelog




commit ghc-pandoc-types for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2016-02-17 10:25:51

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


Package is "ghc-pandoc-types"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2016-02-03 10:19:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2016-02-17 12:11:52.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 11 08:45:43 UTC 2016 - mimi...@gmail.com
+
+-  update to 1.16.1
+* Export pandocTypesVersion from Text.Pandoc.Definition.
+
+---

Old:

  pandoc-types-1.16.0.1.tar.gz

New:

  pandoc-types-1.16.1.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.gAaVRq/_old  2016-02-17 12:11:53.0 +0100
+++ /var/tmp/diff_new_pack.gAaVRq/_new  2016-02-17 12:11:53.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.16.0.1
+Version:1.16.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0

++ pandoc-types-1.16.0.1.tar.gz -> pandoc-types-1.16.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.0.1/Text/Pandoc/Definition.hs 
new/pandoc-types-1.16.1/Text/Pandoc/Definition.hs
--- old/pandoc-types-1.16.0.1/Text/Pandoc/Definition.hs 2016-01-06 
19:26:25.0 +0100
+++ new/pandoc-types-1.16.1/Text/Pandoc/Definition.hs   2016-02-09 
23:24:21.0 +0100
@@ -54,6 +54,7 @@
   , MathType(..)
   , Citation(..)
   , CitationMode(..)
+  , pandocTypesVersion
   ) where
 
 import Data.Generics (Data, Typeable)
@@ -71,6 +72,8 @@
 #else
 import Control.DeepSeq.Generics
 #endif
+import Paths_pandoc_types (version)
+import Data.Version (Version)
 
 data Pandoc = Pandoc Meta [Block]
   deriving (Eq, Ord, Read, Show, Typeable, Data, Generic)
@@ -376,3 +379,6 @@
 instance NFData Block where rnf = genericRnf
 instance NFData Pandoc where rnf = genericRnf
 #endif
+
+pandocTypesVersion :: Version
+pandocTypesVersion = version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.0.1/changelog 
new/pandoc-types-1.16.1/changelog
--- old/pandoc-types-1.16.0.1/changelog 2016-01-06 19:26:25.0 +0100
+++ new/pandoc-types-1.16.1/changelog   2016-02-09 23:24:21.0 +0100
@@ -1,3 +1,17 @@
+[1.16.1]
+
+  * Allow aeson 0.11.*.
+  * Export pandocTypesVersion from Text.Pandoc.Definition.
+
+[1.16.0.1]
+
+  * Use deepseq instead of deepseq-generics.  deepseq now allows deriving
+generic NFData instances, so we don't need deepseq-generics.
+  * Removed unneeded instance, use OVERLAPPING pragma for ghc 7.10.
+  * Added CPP so that deepseq-generics is used for ghc < 7.10.
+  * Added tested-with, generate .travis.yml using make_travis_yml.hs
+  * Added stack.yaml
+
 [1.16]
 
 * Added Attr field to Image and Link.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.16.0.1/pandoc-types.cabal 
new/pandoc-types-1.16.1/pandoc-types.cabal
--- old/pandoc-types-1.16.0.1/pandoc-types.cabal2016-01-06 
19:26:25.0 +0100
+++ new/pandoc-types-1.16.1/pandoc-types.cabal  2016-02-09 23:24:21.0 
+0100
@@ -1,5 +1,5 @@
 Name:pandoc-types
-Version: 1.16.0.1
+Version: 1.16.1
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -44,12 +44,13 @@
  Text.Pandoc.Walk
  Text.Pandoc.Builder
  Text.Pandoc.JSON
+  Other-modules: Paths_pandoc_types
   Build-depends: base >= 4 && < 5,
  containers >= 0.3,
  syb >= 0.1 && < 0.7,
  ghc-prim >= 0.2,
  bytestring >= 0.9 && < 0.11,
- aeson >= 0.6.2 && < 0.11
+ aeson >= 0.6.2 && < 0.12
   if impl(ghc < 7.10)
 Build-depends:   deepseq-generics >= 0.1 && < 0.2
   else




commit ghc-pandoc-types for openSUSE:Factory

2016-02-03 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2016-02-03 10:19:25

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


Package is "ghc-pandoc-types"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2015-10-06 13:24:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2016-02-03 10:19:26.0 +0100
@@ -1,0 +2,7 @@
+Sat Jan 23 09:29:37 UTC 2016 - mimi...@gmail.com
+
+- update to 1.16.0.1
+* Added Attr field to Image and Link.
+* Added SoftBreak constructor to Inline
+
+---

Old:

  pandoc-types-1.12.4.7.tar.gz

New:

  pandoc-types-1.16.0.1.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.1zUqvu/_old  2016-02-03 10:19:27.0 +0100
+++ /var/tmp/diff_new_pack.1zUqvu/_new  2016-02-03 10:19:27.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.4.7
+Version:1.16.0.1
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
@@ -35,6 +35,7 @@
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-deepseq-generics-devel
 BuildRequires:  ghc-syb-devel
 # End cabal-rpm deps

++ pandoc-types-1.12.4.7.tar.gz -> pandoc-types-1.16.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.7/Text/Pandoc/Builder.hs 
new/pandoc-types-1.16.0.1/Text/Pandoc/Builder.hs
--- old/pandoc-types-1.12.4.7/Text/Pandoc/Builder.hs2015-09-23 
21:29:27.0 +0200
+++ new/pandoc-types-1.16.0.1/Text/Pandoc/Builder.hs2016-01-06 
19:26:25.0 +0100
@@ -58,7 +58,7 @@
 >   [Para [Str "item",Space,Str "one"]
 >   ,Para [Str "continuation"]]
 >  ,[Plain [Str "item",Space,Str "two",Space,Str "and",Space,
->   Str "a",Space,Link [Str "link"] ("/url","go to url")
+>   Str "a",Space,Link nullAttr [Str "link"] ("/url","go to 
url")
 
 And of course, you can use Haskell to define your own builders:
 
@@ -117,12 +117,15 @@
, codeWith
, code
, space
+   , softbreak
, linebreak
, math
, displayMath
, rawInline
, link
+   , linkWith
, image
+   , imageWith
, note
, spanWith
, trimInlines
@@ -203,6 +206,8 @@
   (xs' :> x, y :< ys') -> Many (meld `mappend` ys')
 where meld = case (x, y) of
   (Space, Space) -> xs' |> Space
+  (Space, SoftBreak) -> xs' |> SoftBreak
+  (SoftBreak, Space) -> xs' |> SoftBreak
   (Str t1, Str t2)   -> xs' |> Str (t1 <> t2)
   (Emph i1, Emph i2) -> xs' |> Emph (i1 <> i2)
   (Strong i1, Strong i2) -> xs' |> Strong (i1 <> i2)
@@ -210,23 +215,30 @@
   (Superscript i1, Superscript i2) -> xs' |> 
Superscript (i1 <> i2)
   (Strikeout i1, Strikeout i2) -> xs' |> Strikeout (i1 
<> i2)
   (Space, LineBreak) -> xs' |> LineBreak
+  (LineBreak, Space) -> xs' |> LineBreak
+  (SoftBreak, LineBreak) -> xs' |> LineBreak
+  (LineBreak, SoftBreak) -> xs' |> LineBreak
+  (SoftBreak, SoftBreak) -> xs' |> SoftBreak
   _  -> xs' |> x |> y
 
 instance IsString Inlines where
fromString = text
 
--- | Trim leading and trailing Sp (spaces) from an Inlines.
+-- | Trim leading and trailing spaces and softbreaks from an Inlines.
 trimInlines :: Inlines -> Inlines
 #if MIN_VERSION_containers(0,4,0)
-trimInlines (Many ils) = Many $ Seq.dropWhileL (== Space) $
-Seq.dropWhileR (== Space) $ ils
+trimInlines (Many ils) = Many $ Seq.dropWhileL isSp $
+Seq.dropWhileR isSp $ ils
 #else
 -- for GHC 6.12, we need to workaround a bug in dropWhileR
 -- see 

commit ghc-pandoc-types for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2015-10-06 13:24:24

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


Package is "ghc-pandoc-types"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2015-07-20 11:23:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2015-10-06 13:24:25.0 +0200
@@ -1,0 +2,5 @@
+Sun Sep 27 10:11:48 UTC 2015 - mimi...@gmail.com
+
+- update to 1.12.4.7
+
+---

Old:

  pandoc-types-1.12.4.5.tar.gz

New:

  pandoc-types-1.12.4.7.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.ne1RvH/_old  2015-10-06 13:24:26.0 +0200
+++ /var/tmp/diff_new_pack.ne1RvH/_new  2015-10-06 13:24:26.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.4.5
+Version:1.12.4.7
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0

++ pandoc-types-1.12.4.5.tar.gz -> pandoc-types-1.12.4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.5/Text/Pandoc/Definition.hs 
new/pandoc-types-1.12.4.7/Text/Pandoc/Definition.hs
--- old/pandoc-types-1.12.4.5/Text/Pandoc/Definition.hs 2015-07-15 
20:45:13.0 +0200
+++ new/pandoc-types-1.12.4.7/Text/Pandoc/Definition.hs 2015-09-23 
21:29:27.0 +0200
@@ -260,7 +260,8 @@
 -- derive generic instances of FromJSON, ToJSON:
 
 jsonOpts :: Aeson.Options
-jsonOpts = Aeson.Options{ Aeson.fieldLabelModifier = id
+jsonOpts = Aeson.defaultOptions{
+  Aeson.fieldLabelModifier = id
 , Aeson.constructorTagModifier = id
 , Aeson.allNullaryToStringTag = False
 , Aeson.omitNothingFields = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.5/pandoc-types.cabal 
new/pandoc-types-1.12.4.7/pandoc-types.cabal
--- old/pandoc-types-1.12.4.5/pandoc-types.cabal2015-07-15 
20:45:13.0 +0200
+++ new/pandoc-types-1.12.4.7/pandoc-types.cabal2015-09-23 
21:29:27.0 +0200
@@ -1,5 +1,5 @@
 Name:pandoc-types
-Version: 1.12.4.5
+Version: 1.12.4.7
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -43,8 +43,8 @@
  Text.Pandoc.JSON
   Build-depends: base >= 4 && < 5,
  containers >= 0.3,
- syb >= 0.1 && < 0.6,
+ syb >= 0.1 && < 0.7,
  ghc-prim >= 0.2,
  bytestring >= 0.9 && < 0.11,
- aeson >= 0.6.2 && < 0.10,
+ aeson >= 0.6.2 && < 0.11,
  deepseq-generics >= 0.1 && < 0.2




commit ghc-pandoc-types for openSUSE:Factory

2015-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2015-07-20 11:22:52

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


Package is ghc-pandoc-types

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2015-06-10 09:15:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2015-07-20 11:23:04.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 19 17:00:25 UTC 2015 - mimi...@gmail.com
+
+- update to 1.12.4.5 
+
+---

Old:

  pandoc-types-1.12.4.4.tar.gz

New:

  pandoc-types-1.12.4.5.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.Pq9JxH/_old  2015-07-20 11:23:05.0 +0200
+++ /var/tmp/diff_new_pack.Pq9JxH/_new  2015-07-20 11:23:05.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.4.4
+Version:1.12.4.5
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
@@ -89,7 +89,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
-%doc COPYING 
+%doc LICENSE 
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)

++ pandoc-types-1.12.4.4.tar.gz - pandoc-types-1.12.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.4/COPYING 
new/pandoc-types-1.12.4.5/COPYING
--- old/pandoc-types-1.12.4.4/COPYING   2015-05-31 21:44:51.0 +0200
+++ new/pandoc-types-1.12.4.5/COPYING   1970-01-01 01:00:00.0 +0100
@@ -1,340 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-   Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-GNU GENERAL 

commit ghc-pandoc-types for openSUSE:Factory

2015-06-10 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2015-06-10 09:15:44

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


Package is ghc-pandoc-types

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2015-06-02 10:06:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2015-06-10 09:15:45.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun  8 06:39:22 UTC 2015 - mimi...@gmail.com
+
+- update to 1.12.4.4 
+
+---

Old:

  pandoc-types-1.12.4.3.tar.gz

New:

  pandoc-types-1.12.4.4.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.XLTjRs/_old  2015-06-10 09:15:46.0 +0200
+++ /var/tmp/diff_new_pack.XLTjRs/_new  2015-06-10 09:15:46.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.4.3
+Version:1.12.4.4
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0

++ pandoc-types-1.12.4.3.tar.gz - pandoc-types-1.12.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.3/pandoc-types.cabal 
new/pandoc-types-1.12.4.4/pandoc-types.cabal
--- old/pandoc-types-1.12.4.3/pandoc-types.cabal2015-05-29 
00:40:19.0 +0200
+++ new/pandoc-types-1.12.4.4/pandoc-types.cabal2015-05-31 
21:44:51.0 +0200
@@ -1,5 +1,5 @@
 Name:pandoc-types
-Version: 1.12.4.3
+Version: 1.12.4.4
 Synopsis:Types for representing a structured document
 Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data
  structure, which is used by pandoc to represent
@@ -43,7 +43,7 @@
  Text.Pandoc.JSON
   Build-depends: base = 4   5,
  containers = 0.3,
- syb = 0.1   0.5,
+ syb = 0.1   0.6,
  ghc-prim = 0.2,
  bytestring = 0.9   0.11,
  aeson = 0.6.2   0.10,




commit ghc-pandoc-types for openSUSE:Factory

2015-06-02 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2015-06-02 10:06:51

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


Package is ghc-pandoc-types

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2015-05-21 08:11:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2015-06-02 10:06:52.0 +0200
@@ -1,0 +2,10 @@
+Sun May 31 20:49:16 UTC 2015 - mimi...@gmail.com
+
+- change license file to COPYING 
+
+---
+Sun May 31 19:58:12 UTC 2015 - mimi...@gmail.com
+
+- update to 1.12.4.3
+
+---

Old:

  pandoc-types-1.12.4.2.tar.gz

New:

  pandoc-types-1.12.4.3.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.pkwybm/_old  2015-06-02 10:06:54.0 +0200
+++ /var/tmp/diff_new_pack.pkwybm/_new  2015-06-02 10:06:54.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.4.2
+Version:1.12.4.3
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
@@ -89,7 +89,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
-%doc LICENSE 
+%doc COPYING 
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)

++ pandoc-types-1.12.4.2.tar.gz - pandoc-types-1.12.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.4.2/COPYING 
new/pandoc-types-1.12.4.3/COPYING
--- old/pandoc-types-1.12.4.2/COPYING   1970-01-01 01:00:00.0 +0100
+++ new/pandoc-types-1.12.4.3/COPYING   2015-05-29 00:40:19.0 +0200
@@ -0,0 +1,340 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for 

commit ghc-pandoc-types for openSUSE:Factory

2015-05-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2015-05-21 08:11:49

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


Package is ghc-pandoc-types

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes
2014-04-02 17:19:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new/ghc-pandoc-types.changes   
2015-05-21 08:11:50.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 19:10:59 UTC 2015 - mimi...@gmail.com
+
+- update to 1.12.4.2 
+
+---

Old:

  _service
  pandoc-types-1.12.3.2.tar.gz

New:

  pandoc-types-1.12.4.2.tar.gz



Other differences:
--
++ ghc-pandoc-types.spec ++
--- /var/tmp/diff_new_pack.3teoMV/_old  2015-05-21 08:11:51.0 +0200
+++ /var/tmp/diff_new_pack.3teoMV/_new  2015-05-21 08:11:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-pandoc-types
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -19,7 +19,7 @@
 %global pkg_name pandoc-types
 
 Name:   ghc-pandoc-types
-Version:1.12.3.2
+Version:1.12.4.2
 Release:0
 Summary:Types for representing a structured document
 License:GPL-2.0
@@ -35,6 +35,7 @@
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-deepseq-generics-devel
 BuildRequires:  ghc-syb-devel
 # End cabal-rpm deps
 
@@ -88,7 +89,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
-%doc COPYING
+%doc LICENSE 
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)

++ pandoc-types-1.12.3.2.tar.gz - pandoc-types-1.12.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.12.3.2/COPYING 
new/pandoc-types-1.12.4.2/COPYING
--- old/pandoc-types-1.12.3.2/COPYING   2014-02-03 22:29:41.0 +0100
+++ new/pandoc-types-1.12.4.2/COPYING   1970-01-01 01:00:00.0 +0100
@@ -1,340 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-   Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the