Hello community, here is the log from the commit of package ghc-hackernews for openSUSE:Factory checked in at 2017-08-31 20:55:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hackernews (Old) and /work/SRC/openSUSE:Factory/.ghc-hackernews.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-hackernews" Thu Aug 31 20:55:37 2017 rev:4 rq:513360 version:1.2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hackernews/ghc-hackernews.changes 2017-07-11 08:25:31.394173810 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hackernews.new/ghc-hackernews.changes 2017-08-31 20:55:42.329806618 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:11 UTC 2017 - psimons@suse.com + +- Update to version 1.2.0.0. + +------------------------------------------------------------------- Old: ---- hackernews-1.1.2.0.tar.gz New: ---- hackernews-1.2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hackernews.spec ++++++ --- /var/tmp/diff_new_pack.j2qFPq/_old 2017-08-31 20:55:44.717471143 +0200 +++ /var/tmp/diff_new_pack.j2qFPq/_new 2017-08-31 20:55:44.721470581 +0200 @@ -19,7 +19,7 @@ %global pkg_name hackernews %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1.2.0 +Version: 1.2.0.0 Release: 0 Summary: API for Hacker News License: MIT ++++++ hackernews-1.1.2.0.tar.gz -> hackernews-1.2.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hackernews-1.1.2.0/ghc-src/Web/HackerNews.hs new/hackernews-1.2.0.0/ghc-src/Web/HackerNews.hs --- old/hackernews-1.1.2.0/ghc-src/Web/HackerNews.hs 2017-05-25 07:43:53.000000000 +0200 +++ new/hackernews-1.2.0.0/ghc-src/Web/HackerNews.hs 2017-06-01 22:26:38.000000000 +0200 @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} @@ -118,7 +119,11 @@ toError = first go where go :: ServantError -> HackerNewsError +#if MIN_VERSION_servant_client(0,11,0) + go (FailureResponse _ Status{..} _ body) = +#else go (FailureResponse Status{..} _ body) = +#endif FailureResponseError statusCode (cs statusMessage) (cs body) go (DecodeFailure _ _ "null") = NotFound go (DecodeFailure err _ body) = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hackernews-1.1.2.0/hackernews.cabal new/hackernews-1.2.0.0/hackernews.cabal --- old/hackernews-1.1.2.0/hackernews.cabal 2017-05-25 07:43:53.000000000 +0200 +++ new/hackernews-1.2.0.0/hackernews.cabal 2017-06-01 22:26:38.000000000 +0200 @@ -1,5 +1,5 @@ name: hackernews -version: 1.1.2.0 +version: 1.2.0.0 description: API for news.ycombinator.com license: MIT synopsis: API for Hacker News @@ -23,13 +23,13 @@ if impl (ghcjs) build-depends: base - , hackernews == 1.1.* + , hackernews == 1.2.* , ghcjs-base hs-source-dirs: ghcjs-examples else build-depends: base - , hackernews == 1.1.* + , hackernews == 1.2.* , http-client-tls , http-client hs-source-dirs: ghc-examples @@ -39,7 +39,7 @@ if impl(ghcjs) hs-source-dirs: ghcjs-tests build-depends: base - , hackernews == 1.1.* + , hackernews == 1.2.* , ghcjs-base , hspec , hspec-core @@ -55,7 +55,7 @@ , Web.HackerNews.Types hs-source-dirs: src build-depends: - servant >= 0.9 && < 0.11 + servant >= 0.9 && < 0.12 , QuickCheck , quickcheck-instances if impl(ghcjs) @@ -72,7 +72,7 @@ hs-source-dirs: ghc-src build-depends: aeson , base < 5 - , servant-client >= 0.9 && < 0.11 + , servant-client >= 0.9 && < 0.12 , http-client == 0.5.* , string-conversions == 0.4.* , http-types == 0.9.* @@ -89,7 +89,7 @@ hs-source-dirs: ghc-tests build-depends: aeson , base - , hackernews == 1.1.* + , hackernews == 1.2.* , hspec , http-client-tls , http-client