Hello community, here is the log from the commit of package pandoc for openSUSE:Factory checked in at 2015-05-21 08:13:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pandoc (Old) and /work/SRC/openSUSE:Factory/.pandoc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pandoc" Changes: -------- --- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes 2014-04-02 17:19:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pandoc.new/pandoc.changes 2015-05-21 08:13:41.000000000 +0200 @@ -1,0 +2,1085 @@ +Sun Apr 26 13:27:36 UTC 2015 - mimi.vx@gmail.com + +- correct ghc-http-client-tls dep + +------------------------------------------------------------------- +Fri Apr 24 19:38:07 UTC 2015 - mimi.vx@gmail.com + +- update to 1.13.2.1 +pandoc (1.13.2) +=============== + * TWiki Reader: add new new twiki reader (API chaneg, Alexander Sulfrian). + * Markdown reader: + + Better handling of paragraph in div (#1591). + Previously text that ended a div would be parsed as Plain + unless there was a blank line before the closing div tag. + + Don't treat a citation as a reference link label (#1763). + + Fix autolinks with following punctuation (#1811). + The price of this is that autolinked bare URIs can no longer + contain `>` characters, but this is not a big issue. + + Fix `Ext_lists_without_preceding_blankline` bug (#1636, Artyom). + + Allow `startnum` to work without `fancy_lists`. Formerly + `pandoc -f markdown-fancy_lists+startnum` did not work properly. + * RST reader (all Daniel Bergey): + + Parse quoted literal blocks (#65). RST quoted literal blocks are + the same as indented literal blocks (which pandoc already supports) + except that the quote character is preserved in each line. + + Parse RST class directives. The class directive accepts one or more + class names, and creates a Div value with those classes. If the + directive has an indented body, the body is parsed as the children of + the Div. If not, the first block folowing the directive is made a + child of the Div. This differs from the behavior of rst2xml, which + does not create a Div element. Instead, the specified classes are + applied to each child of the directive. However, most Pandoc Block + constructors to not take an Attr argument, so we can't duplicate this + behavior. + + Warn about skipped directives. + + Literal role now produces Code. Code role should have "code" class. + + Improved support for custom roles + - Added `sourceCode` to classes for `:code:` role, and anything + inheriting from it. + - Add the name of the custom role to classes if the Inline + constructor supports Attr. + - If the custom role directive does not specify a parent role, + inherit from the `:span:` role. + This differs somewhat from the `rst2xml.py` behavior. If a custom + role inherits from another custom role, Pandoc will attach both + roles' names as classes. `rst2xml.py` will only use the class of + the directly invoked role (though in the case of inheriting from a + `:code:` role with a `:language:` defined, it will also provide the + inherited language as a class). + + Warn about ignored fields in role directives. + * LaTeX reader: + + Parse label after caption into a span instead of + inserting an additional paragraph of bracketed text (#1747). + + Parse math environments as inline when possible (#1821). + + Better handling of `\noindent` and `\greektext` (#1783). + + Handle `\texorpdfstring` more gracefully. + + Handle `\cref` and `\sep` (Wikiwide). + + Support `\smartcite` and `\Smartcite` from biblatex. + * HTML reader: + + Retain display type of MathML output (#1719, Matthew Pickering). + + Recognise `<br>` tags inside `<pre>` blocks (#1620, Matthew Pickering). + + Make `embed` tag either block or inline (#1756). + * DocBook reader: + + Handle `keycombo`, `keycap` (#1815). + + Get string content in inner tags for literal elements (#1816). + + Handle `menuchoice` elements better, with a `>` between (#1817). + + Include `id` on section headers (#1818). + + Document/test "type" as implemented (Brian O'Sullivan). + + Add support for calloutlist and callout (Brian O'Sullivan). + We treat a calloutlist as a bulleted list. This works well in practice. + + Add support for `classname` (Bryan O'Sullivan). + * Docx reader: + + Fix window path for image lookup (Jesse Rosenthal). + Don't use os-sensitive "combine", since we always want the paths in our + zip-archive to use forward-slashes. + + Single-item headers in ordered lists are headers (Jesse Rosenthal). + When users number their headers, Word understands that as a single item + enumerated list. We make the assumption that such a list is, in fact, + a header. + + Rewrite rewriteLink to work with new headers (Jesse Rosenthal). + There could be new top-level headers after making lists, so we have to + rewrite links after that. + + Use polyglot header list (Jesse Rosenthal). + We're just keeping a list of header formats that different languages + use as their default styles. At the moment, we have English, German, + Danish, and French. We can continue to add to this. + This is simpler than parsing the styles file, and perhaps less + error-prone, since there seems to be some variations, even within a + language, of how a style file will define headers. + + Remove header class properly in other langs (Jesse Rosenthal). + When we encounter one of the polyglot header styles, we want to remove + that from the par styles after we convert to a header. To do that, we + have to keep track of the style name, and remove it appropriately. + + Account for external link URLs with anchors. Previously, if a URL + had an anchor, the reader would incorrectly identify it as an + internal link and return only the anchor as URL. (Caleb McDaniel) + + Fix for Issue #1692 (i18n styles) (Nikolay Yakimov). + * Org reader: + + Added state changing blanklines (Jesse Rosenthal). + This allows us to emphasize at the beginning of a new paragraph (or, in + general, after blank lines). + + Fixed bug with bulleted lists: + - a + - b + * c + was being parsed as a list, even though an unindented `*` + should make a heading. See + http://orgmode.org/manual/Plain-lists.html#fn-1. + + Org reader: absolute, relative paths in link (#1741, Albert + Krewinkel). The org reader was too restrictive when parsing links; + some relative links and links to files given as absolute paths + were not recognized correctly. + + Org reader: allow empty links (jgm/gitit#471, Albert Krewinkel). + This is important for use in gitit, which uses empty links + for wikilinks. + + Respect indent when parsing Org bullet lists (#1650, Timothy + Humphries). Fixes issue with top-level bullet list parsing. + + Fix indent issue for definition lists (Timothy Humphries, + see #1650, #1698, #1680). + + Parse multi-inline terms correctly in definition list (#1649, + Matthew Pickering). + + Fix rules for emphasis recognition (Albert Krewinkel). + Things like `/hello,/` or `/hi'/` were falsy recognized as emphasised + strings. This is wrong, as `,` and `'` are forbidden border chars and + may not occur on the inner border of emphasized text. + + Drop COMMENT document trees (Albert Krewinkel). + Document trees under a header starting with the word `COMMENT` are + comment trees and should not be exported. Those trees are dropped + silently (#1678). + + Properly handle links to `file:target` (Albert Krewinkel). + Org links like `[[file:target][title]]` were not handled correctly, + parsing the link target verbatim. The org reader is changed such that + the leading `file:` is dropped from the link target (see #756, #1812). + + Parse LaTeX-style MathML entities (#1657, Albert Krewinkel). + Org supports special symbols which can be included using LaTeX syntax, + but are actually MathML entities. Examples for this are + `\nbsp` (non-breaking space), `\Aacute` (the letter A with accent acute) + or `\copy` (the copyright sign ©) + * EPUB reader: + + URI handling improvements. Now we outsource most of the work to + `fetchItem'`. Also, do not include queries in file extensions (#1671). + * LaTeX writer: + + Use `\texorpdfstring` for section captions when needed (Vaclav Zeman). + + Handle consecutive linebreaks (#1733). + + Protect graphics in headers (Jesse Rosenthal). + Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed. + + Put `~` before header in list item text (Jesse Rosenthal). + Because of the built-in line skip, LaTeX can't handle a section header + as the first element in a list item. + + Avoid using reserved characters as `\lstinline` delimiters (#1595). + + Better handling of display math in simple tables (#1754). + We convert display math to inline math in simple tables, + since LaTeX can't deal with display math in simple tables. + + Escape spaces in code (#1694, Bjorn Buckwalter). + * MediaWiki writer: + + Fixed links with URL = text. Previously these were rendered as bare + words, even if the URL was not an absolute URL (#1825). + * ICML writer: + + Don't force all citations into footnotes. + * RTF writer: + + Add blankline at end of output (#1732, Matthew Pickering). + * RST writer: + + Ensure blank line after figure. + + Avoid exces whitespace after last list item (#1777). + + Wrap line blocks with spaces before continuations (#1656). + + Fixed double-rendering of footnotes in RST tables (#1769). + * DokuWiki writer: + + Better handling of block quotes. This change ensures that + multiple paragraph blockquotes are rendered using native `>` + rather than as HTML (#1738). + + Fix external images (#1739). Preface relative links with ":", + absolute URIs without. (Timothy Humphries) + * HTML writer: + + Use protocol-relative URL for mathjax. + + Put newline btw img and caption paragraph. + + MathML now outputted with tex annotation (#1635, Matthew Pickering). + + Add support for KaTeX HTML math (#1626, Matthew Pickering). + This adds `KaTeX` to `HTMLMathMethod` (API change). + + Don't double render when `email-obfuscation=none` (#1625, Matthew + Pickering). + + Make header attributes work outside top level (#1711). + Previously they only appeared on top level header elements. + Now they work e.g. in blockquotes. + * ODT writer: + + Correctly handle images without extensions (#1729). + + Strip querystring in ODT write (#1682, Todd Sifleet). + * FB2 writer: + + Add newline to output. + * EPUB writer: + + Don't add `sourceURL` to absolute URIs (#1669). + + Don't use unsupported `opf:title-type` for epub2. + + Include "landmarks" section in nav document for epub3 (#1757). + + Removed playOrder from navpoint elements in ncx file (#1760). + These aren't required, and they make manual modification of epubs + difficult. + + Extract title even from structured title. ++++ 888 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/pandoc/pandoc.changes ++++ and /work/SRC/openSUSE:Factory/.pandoc.new/pandoc.changes Old: ---- pandoc-1.12.3.3.tar.gz New: ---- pandoc-1.13.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pandoc.spec ++++++ --- /var/tmp/diff_new_pack.N3P2bm/_old 2015-05-21 08:13:42.000000000 +0200 +++ /var/tmp/diff_new_pack.N3P2bm/_new 2015-05-21 08:13:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pandoc # -# 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 @@ -17,48 +17,50 @@ %global pkg_name pandoc - -Name: pandoc -Version: 1.12.3.3 +%bcond_with tests +Name: %{pkg_name} +Version: 1.13.2.1 Release: 0 Summary: Conversion between markup formats -License: GPL-2.0 -Group: Productivity/Publishing/Other - -Url: http://hackage.haskell.org/package/%{name} -Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros +License: GPL-1.0+ +Group: Development/Languages/Other +Url: https://hackage.haskell.org/package/%{name} +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz # Begin cabal-rpm deps: -BuildRequires: alex -BuildRequires: chrpath +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HTTP-devel +BuildRequires: ghc-JuicyPixels-devel +BuildRequires: ghc-SHA-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-array-devel -BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base64-bytestring-devel +BuildRequires: ghc-binary-devel BuildRequires: ghc-blaze-html-devel BuildRequires: ghc-blaze-markup-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-data-default-devel +BuildRequires: ghc-deepseq-generics-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-extensible-exceptions-devel BuildRequires: ghc-filepath-devel +BuildRequires: ghc-haddock-library-devel BuildRequires: ghc-highlighting-kate-devel BuildRequires: ghc-hslua-devel -#BuildRequires: ghc-http-conduit-devel -#BuildRequires: ghc-http-types-devel +BuildRequires: ghc-http-client-devel +BuildRequires: ghc-http-client-tls-devel +BuildRequires: ghc-http-types BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-network-uri-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-pandoc-types-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-process-devel BuildRequires: ghc-random-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-scientific-devel BuildRequires: ghc-syb-devel BuildRequires: ghc-tagsoup-devel BuildRequires: ghc-temporary-devel @@ -71,19 +73,31 @@ BuildRequires: ghc-yaml-devel BuildRequires: ghc-zip-archive-devel BuildRequires: ghc-zlib-devel -BuildRequires: happy +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-Diff-devel +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-executable-path-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif # End cabal-rpm deps +BuildRequires: chrpath BuildRequires: fdupes %description Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read markdown and -(subsets of) HTML, reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock -markup, OPML, and Textile, and it can write markdown, reStructuredText, HTML, -LaTeX, ConTeXt, Docbook, OPML, OpenDocument, ODT, Word docx, RTF, MediaWiki, -Textile, groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB (v2 and -v3), FictionBook2, and several kinds of HTML/javascript slide shows (S5, Slidy, -Slideous, DZSlides, reveal.js). +(subsets of) HTML, reStructuredText, LaTeX, DocBook, MediaWiki markup, TWiki +markup, Haddock markup, OPML, Emacs Org-Mode, txt2tags and Textile, and it can +write markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, OPML, +OpenDocument, ODT, Word docx, RTF, MediaWiki, DokuWiki, Textile, groff man +pages, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), +FictionBook2, InDesign ICML, and several kinds of HTML/javascript slide shows +(S5, Slidy, Slideous, DZSlides, reveal.js). Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and other features. A compatibility mode is provided @@ -96,7 +110,6 @@ target format. Thus, adding an input or output format requires only adding a reader or writer. - %package -n ghc-%{name} Summary: Haskell %{name} library Group: System/Libraries @@ -104,62 +117,66 @@ %description -n ghc-%{name} This package provides the Haskell %{name} shared library. - %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Group: Development/Libraries/Other -Provides: ghc-%{name}-static = %{version}-%{release} +Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: ghc-%{name} = %{version}-%{release} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. - %prep %setup -q %build -%define cabal_configure_options -f -http-conduit -%ghc_lib_build +# make-pandoc-man-pages: generate man pages +%define cabal_configure_options --flags="make-pandoc-man-pages" +%{ghc_lib_build} %install -%ghc_lib_install -%ghc_fix_dynamic_rpath %{name} +%{ghc_lib_install} + +%ghc_fix_dynamic_rpath %{pkg_name} + +install -m 0644 -p -D man/man1/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1 +install -m 0644 -p -D man/man5/pandoc_markdown.5 %{buildroot}%{_mandir}/man5/pandoc_markdown.5 # These files will be installed in the standard _docdir -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/BUGS -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/CONTRIBUTING.md rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/COPYRIGHT -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/INSTALL rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/changelog - # Link duplicate template files %fdupes %{buildroot}%{_datadir}/%{pkg_name}-%{version}/data/templates/ +%check +%if %{with tests} +%{cabal} test +%endif + %post -n ghc-%{name}-devel -%ghc_pkg_recache +%{ghc_pkg_recache} %postun -n ghc-%{name}-devel -%ghc_pkg_recache +%{ghc_pkg_recache} %files -%defattr(-,root,root) -%doc COPYING BUGS CONTRIBUTING.md COPYRIGHT README changelog +%defattr(-,root,root,-) +%doc COPYING +%doc README +%doc BUGS CONTRIBUTING.md COPYRIGHT changelog %{_bindir}/%{name} %{_datadir}/%{name}-%{version} %{_mandir}/man1/pandoc.1* %{_mandir}/man5/pandoc_markdown.5* %files -n ghc-%{name} -f ghc-%{name}.files -%defattr(-,root,root) +%defattr(-,root,root,-) %doc COPYING %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files -%defattr(-,root,root) +%defattr(-,root,root,-) %doc README %changelog ++++++ pandoc-1.12.3.3.tar.gz -> pandoc-1.13.2.1.tar.gz ++++++ ++++ 43716 lines of diff (skipped)