Hello community, here is the log from the commit of package ghc-markdown for openSUSE:Factory checked in at 2016-11-10 13:24:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-markdown (Old) and /work/SRC/openSUSE:Factory/.ghc-markdown.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-markdown" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-markdown/ghc-markdown.changes 2016-11-02 12:35:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-markdown.new/ghc-markdown.changes 2016-11-10 13:24:51.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Oct 17 15:38:19 UTC 2016 - psimons@suse.com + +- Update to version 0.1.15 with cabal2obs. + +------------------------------------------------------------------- Old: ---- markdown-0.1.14.tar.gz New: ---- markdown-0.1.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-markdown.spec ++++++ --- /var/tmp/diff_new_pack.yvuAh1/_old 2016-11-10 13:24:52.000000000 +0100 +++ /var/tmp/diff_new_pack.yvuAh1/_new 2016-11-10 13:24:52.000000000 +0100 @@ -19,15 +19,14 @@ %global pkg_name markdown %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.14 +Version: 0.1.15 Release: 0 Summary: Convert Markdown to HTML, with XSS protection License: BSD-3-Clause -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-attoparsec-devel BuildRequires: ghc-blaze-html-devel BuildRequires: ghc-blaze-markup-devel @@ -47,7 +46,6 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-hspec-devel %endif -# End cabal-rpm deps %description This library leverages existing high-performance libraries (attoparsec, @@ -68,20 +66,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++++++ markdown-0.1.14.tar.gz -> markdown-0.1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/markdown-0.1.14/Text/Markdown/Types.hs new/markdown-0.1.15/Text/Markdown/Types.hs --- old/markdown-0.1.14/Text/Markdown/Types.hs 2016-04-07 08:21:41.000000000 +0200 +++ new/markdown-0.1.15/Text/Markdown/Types.hs 2016-10-11 07:53:31.000000000 +0200 @@ -111,8 +111,9 @@ | FHParsed ([Block Text] -> [Block Text]) -- ^ Wrap up the given parsed content. -instance Default MarkdownSettings where - def = MarkdownSettings +-- | @since 0.1.15 +defaultMarkdownSettings :: MarkdownSettings +defaultMarkdownSettings = MarkdownSettings { msXssProtect = True , msStandaloneHtml = empty , msFencedHandlers = codeFencedHandler "```" `mappend` codeFencedHandler "~~~" @@ -126,6 +127,9 @@ , msAddHeadingId = False } +instance Default MarkdownSettings where + def = defaultMarkdownSettings + -- | Helper for creating a 'FHRaw'. -- -- Since 0.1.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/markdown-0.1.14/Text/Markdown.hs new/markdown-0.1.15/Text/Markdown.hs --- old/markdown-0.1.14/Text/Markdown.hs 2016-04-07 08:21:41.000000000 +0200 +++ new/markdown-0.1.15/Text/Markdown.hs 2016-10-11 07:53:31.000000000 +0200 @@ -6,6 +6,7 @@ markdown -- * Settings , MarkdownSettings + , defaultMarkdownSettings , msXssProtect , msStandaloneHtml , msFencedHandlers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/markdown-0.1.14/markdown.cabal new/markdown-0.1.15/markdown.cabal --- old/markdown-0.1.14/markdown.cabal 2016-04-07 08:21:41.000000000 +0200 +++ new/markdown-0.1.15/markdown.cabal 2016-10-11 07:53:31.000000000 +0200 @@ -1,5 +1,5 @@ Name: markdown -Version: 0.1.14 +Version: 0.1.15 Synopsis: Convert Markdown to HTML, with XSS protection Description: This library leverages existing high-performance libraries (attoparsec, blaze-html, text, and conduit), and should integrate well with existing codebases. Homepage: https://github.com/snoyberg/markdown