Hello community, here is the log from the commit of package ghc-http-streams for openSUSE:Factory checked in at 2017-03-24 02:20:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-http-streams (Old) and /work/SRC/openSUSE:Factory/.ghc-http-streams.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-streams" Fri Mar 24 02:20:37 2017 rev:2 rq:480944 version:0.8.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-http-streams/ghc-http-streams.changes 2017-03-10 21:45:49.518537623 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-streams.new/ghc-http-streams.changes 2017-03-24 02:20:38.560655082 +0100 @@ -1,0 +2,5 @@ +Thu Sep 15 07:12:59 UTC 2016 - [email protected] + +- Update to version 0.8.4.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- http-streams-0.8.3.3.tar.gz New: ---- http-streams-0.8.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-http-streams.spec ++++++ --- /var/tmp/diff_new_pack.guOg6N/_old 2017-03-24 02:20:39.224561145 +0100 +++ /var/tmp/diff_new_pack.guOg6N/_new 2017-03-24 02:20:39.224561145 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-http-streams # -# 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 @@ -19,15 +19,14 @@ %global pkg_name http-streams %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.3.3 +Version: 0.8.4.0 Release: 0 Summary: An HTTP client using io-streams 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-HsOpenSSL-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -49,16 +48,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-MonadCatchIO-transformers-devel BuildRequires: ghc-aeson-pretty-devel BuildRequires: ghc-hspec-devel BuildRequires: ghc-hspec-expectations-devel +BuildRequires: ghc-lifted-base-devel BuildRequires: ghc-snap-core-devel BuildRequires: ghc-snap-server-devel BuildRequires: ghc-system-fileio-devel BuildRequires: ghc-system-filepath-devel %endif -# End cabal-rpm deps %description /Overview/ @@ -84,20 +82,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 ++++++ http-streams-0.8.3.3.tar.gz -> http-streams-0.8.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/CHANGELOG.markdown new/http-streams-0.8.4.0/CHANGELOG.markdown --- old/http-streams-0.8.3.3/CHANGELOG.markdown 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/CHANGELOG.markdown 2016-07-29 00:40:53.000000000 +0200 @@ -1,3 +1,6 @@ +* _v0.8.4_ + Support GHC 8. + * _v0.8.3_ A pure version of `buildRequest` is now available as `buildRequest1`. Support for connecting to Unix domain sockets has been added. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/http-streams.cabal new/http-streams-0.8.4.0/http-streams.cabal --- old/http-streams-0.8.3.3/http-streams.cabal 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/http-streams.cabal 2016-07-29 00:37:08.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: >= 1.10 name: http-streams -version: 0.8.3.3 +version: 0.8.4.0 synopsis: An HTTP client using io-streams description: /Overview/ @@ -17,9 +17,9 @@ license-file: LICENCE author: Andrew Cowie <[email protected]> maintainer: Andrew Cowie <[email protected]> -copyright: © 2012-2015 Operational Dynamics Consulting, Pty Ltd and Others +copyright: © 2012-2016 Operational Dynamics Consulting, Pty Ltd and Others category: Web, IO-Streams -tested-with: GHC == 7.8 +tested-with: GHC == 7.10.3, GHC == 8.0.1 stability: experimental homepage: http://research.operationaldynamics.com/projects/http-streams/ bug-reports: https://github.com/afcowie/http-streams/issues @@ -48,7 +48,6 @@ default-language: Haskell2010 build-depends: attoparsec, - http-common >= 0.8.2, base >= 4 && <5, directory, base64-bytestring, @@ -62,7 +61,8 @@ transformers, text, unordered-containers, - aeson + aeson, + http-common >= 0.8.2 if flag(network-uri) build-depends: network-uri >= 2.6, network >= 2.6 else @@ -86,7 +86,7 @@ include-dirs: . - ghc-prof-options: -prof -fprof-auto-top + ghc-prof-options: -fprof-auto-top test-suite check @@ -95,10 +95,9 @@ default-language: Haskell2010 build-depends: - http-common >= 0.8.2, HUnit, HsOpenSSL, - MonadCatchIO-transformers, + lifted-base, aeson-pretty, attoparsec, base, @@ -116,15 +115,15 @@ network >= 2.6, network-uri >= 2.6, openssl-streams >= 1.1 && < 1.4, - snap-core >= 0.9 && < 1.0, - snap-server >= 0.9 && < 1.0, + snap-core >= 1.0 && < 1.1, + snap-server >= 1.0 && < 1.1, system-fileio >= 0.3.10 && < 0.4, system-filepath >= 0.4.1 && < 0.5, text, unordered-containers, aeson, http-common >= 0.8.2, - http-streams >= 0.8.2 + http-streams >= 0.8.4 hs-source-dirs: lib,tests main-is: check.hs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/lib/Network/Http/Connection.hs new/http-streams-0.8.4.0/lib/Network/Http/Connection.hs --- old/http-streams-0.8.3.3/lib/Network/Http/Connection.hs 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/lib/Network/Http/Connection.hs 2016-08-08 03:28:42.000000000 +0200 @@ -9,6 +9,7 @@ -- the BSD licence. -- +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DoAndIfThenElse #-} {-# LANGUAGE OverloadedStrings #-} @@ -43,7 +44,6 @@ import Control.Exception (bracket) import Data.ByteString (ByteString) import qualified Data.ByteString.Char8 as S -import Data.Monoid (mappend, mempty) import Network.Socket import OpenSSL (withOpenSSL) import OpenSSL.Session (SSL, SSLContext) @@ -52,6 +52,10 @@ import qualified System.IO.Streams as Streams import qualified System.IO.Streams.SSL as Streams hiding (connect) +#if !MIN_VERSION_base(4,8,0) +import Data.Monoid (mappend, mempty) +#endif + import Network.Http.Internal import Network.Http.ResponseParser diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/lib/Network/Http/Inconvenience.hs new/http-streams-0.8.4.0/lib/Network/Http/Inconvenience.hs --- old/http-streams-0.8.3.3/lib/Network/Http/Inconvenience.hs 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/lib/Network/Http/Inconvenience.hs 2016-07-07 14:58:07.000000000 +0200 @@ -52,7 +52,6 @@ import qualified Data.HashSet as HashSet import Data.IORef (IORef, newIORef, readIORef, writeIORef) import Data.List (intersperse) -import Data.Monoid (Monoid (..), mappend) import qualified Data.Text as T import qualified Data.Text.Encoding as T import Data.Typeable (Typeable) @@ -69,6 +68,10 @@ import qualified System.IO.Streams.Attoparsec as Streams import System.IO.Unsafe (unsafePerformIO) +#if !MIN_VERSION_base(4,8,0) +import Data.Monoid (Monoid (..), mappend) +#endif + import Network.Http.Connection import Network.Http.RequestBuilder import Network.Http.Types diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/lib/Network/Http/ResponseParser.hs new/http-streams-0.8.4.0/lib/Network/Http/ResponseParser.hs --- old/http-streams-0.8.3.3/lib/Network/Http/ResponseParser.hs 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/lib/Network/Http/ResponseParser.hs 2016-05-27 03:23:12.000000000 +0200 @@ -16,6 +16,7 @@ -- {-# LANGUAGE BangPatterns #-} +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE OverloadedStrings #-} @@ -30,7 +31,6 @@ import Prelude hiding (take, takeWhile) -import Control.Applicative import Control.Exception (Exception, throwIO) import Control.Monad (void) import Control.Monad.IO.Class (liftIO) @@ -46,6 +46,10 @@ import qualified System.IO.Streams as Streams import qualified System.IO.Streams.Attoparsec as Streams +#if !MIN_VERSION_base(4,8,0) +import Control.Applicative +#endif + import Network.Http.Internal import Network.Http.Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.3.3/tests/MockServer.hs new/http-streams-0.8.4.0/tests/MockServer.hs --- old/http-streams-0.8.3.3/tests/MockServer.hs 2015-06-12 07:13:43.000000000 +0200 +++ new/http-streams-0.8.4.0/tests/MockServer.hs 2016-07-29 00:35:34.000000000 +0200 @@ -23,7 +23,7 @@ import Control.Applicative import Control.Concurrent (forkIO, threadDelay) import Control.Exception (SomeException) -import Control.Monad.CatchIO (catch) +import Control.Exception.Lifted (catch) import "mtl" Control.Monad.Trans (liftIO) import Data.ByteString (ByteString) import qualified Data.ByteString.Char8 as S
