diff --git a/ghc-pandoc-types.changes b/ghc-pandoc-types.changes index 23f72ae..4a7e090 100644 --- a/ghc-pandoc-types.changes +++ b/ghc-pandoc-types.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Nov 1 08:29:45 UTC 2021 - psimons@suse.com + +- Update pandoc-types to version 1.22.1. + [1.22.1] + + * Text.Pandoc.Builder: add simpleFigure, simpleFigureWith, + and the SimpleFigure bidirectional pattern synonym + (Aner Lucero) [API change]. + + * Allow bytestring 0.11 (Alexander Batischev). + + * Update stack resolver to lts-18.10 + + * Allow aeson 2+. Tested with aeson 2.0.1.0. + + * Allow transformers 0.6. + + * Fix incorrect table ColWidth documentation (#85, Nils Carlson). + The documentation stated that the ColWidth represented the width + of the column as a fraction of the table width when in represents + a percentage of the text width. + ------------------------------------------------------------------- Thu Oct 7 07:57:36 UTC 2021 - psimons@suse.com diff --git a/ghc-pandoc-types.spec b/ghc-pandoc-types.spec index acba353..ce5d8ad 100644 --- a/ghc-pandoc-types.spec +++ b/ghc-pandoc-types.spec @@ -19,13 +19,12 @@ %global pkg_name pandoc-types %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.22 +Version: 1.22.1 Release: 0 Summary: Types for representing a structured document License: GPL-2.0-only 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 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/pandoc-types-1.22.1.tar.gz b/pandoc-types-1.22.1.tar.gz new file mode 100644 index 0000000..fa88701 --- /dev/null +++ b/pandoc-types-1.22.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42d33ab29d55f3ec8a602532bc193e93794ea9860108b022e431472d0d18527c +size 35380 diff --git a/pandoc-types-1.22.tar.gz b/pandoc-types-1.22.tar.gz deleted file mode 100644 index 4594276..0000000 --- a/pandoc-types-1.22.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:380175de810d6715d021335f136cbe00c752342e86c92cf81da1a4c27db2254f -size 34702 diff --git a/pandoc-types.cabal b/pandoc-types.cabal deleted file mode 100644 index 1bf9b79..0000000 --- a/pandoc-types.cabal +++ /dev/null @@ -1,97 +0,0 @@ -cabal-version: 2.2 -Name: pandoc-types -version: 1.22 -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: https://pandoc.org/ -License: BSD-3-Clause -License-file: LICENSE -Author: John MacFarlane -Maintainer: jgm@berkeley.edu -Bug-Reports: https://github.com/jgm/pandoc-types/issues -Copyright: (c) 2006-2019 John MacFarlane -Category: Text -Build-type: Simple -Tested-With: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.2, - GHC == 8.6.5, GHC == 8.8.1 -Extra-Source-Files: changelog -Source-repository head - type: git - location: git://github.com/jgm/pandoc-types.git - -Library - hs-source-dirs: src - 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 - Autogen-modules: Paths_pandoc_types - Build-depends: base >= 4.5 && < 5, - containers >= 0.3, - text, - deepseq >= 1.4.1 && < 1.5, - syb >= 0.1 && < 0.8, - ghc-prim >= 0.2, - bytestring >= 0.9 && < 0.12, - aeson >= 0.6.2 && < 1.6, - transformers >= 0.2 && < 0.6, - QuickCheck >= 2.10 && < 2.15 - if !impl(ghc >= 8.0) - Build-depends: semigroups == 0.18.* - ghc-options: -Wall - default-language: Haskell2010 - -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.6, - containers >= 0.3, - text, - bytestring >= 0.9 && < 0.12, - test-framework >= 0.3 && < 0.9, - test-framework-hunit >= 0.2 && < 0.4, - test-framework-quickcheck2 >= 0.2.9 && < 0.4, - QuickCheck >= 2.10 && < 2.15, - HUnit >= 1.2 && < 1.7, - string-qq >= 0.0.2 && < 0.1 - ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -O2 - default-language: Haskell2010 - -benchmark benchmark-pandoc-types - type: exitcode-stdio-1.0 - main-is: bench.hs - hs-source-dirs: benchmark - build-depends: pandoc-types, - base >= 4.5 && < 5, - text, - criterion >= 1.0 && < 1.6 - ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -O2 - default-language: Haskell2010