Hello community,

here is the log from the commit of package ghc-HTTP for openSUSE:Factory 
checked in at 2014-11-26 20:54:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-HTTP (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-HTTP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-HTTP"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-HTTP/ghc-HTTP.changes        2014-08-25 
11:05:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-HTTP.new/ghc-HTTP.changes   2014-11-26 
20:54:52.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Sep  9 20:09:24 UTC 2014 - [email protected]
+
+- update to 4000.2.10
+* no changelog
+* for Haskell Platform 2014.2.0.0 
+
+-------------------------------------------------------------------
+Mon Sep  1 17:20:24 UTC 2014 - [email protected]
+
+- regenerate spec file with cabal-rpm 0.8.6
+* require exact version of ghc-compiler
+
+-------------------------------------------------------------------

Old:
----
  HTTP-4000.2.8.tar.gz

New:
----
  HTTP-4000.2.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-HTTP.spec ++++++
--- /var/tmp/diff_new_pack.IQjvUQ/_old  2014-11-26 20:54:52.000000000 +0100
+++ /var/tmp/diff_new_pack.IQjvUQ/_new  2014-11-26 20:54:52.000000000 +0100
@@ -1,8 +1,7 @@
 #
 # spec file for package ghc-HTTP
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2013 Peter Trommler [email protected]
+# Copyright (c) 2014 SUSE LINUX Products 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,45 +18,59 @@
 
 %global pkg_name HTTP
 
-%global common_summary Haskell library for client-side HTTP
-
-%global common_description The HTTP package supports client-side web 
programming in Haskell. It lets you set up HTTP connections, transmitting 
requests and processing the responses coming back, all from within the comforts 
of Haskell. It is dependent on the network package to operate, but other than 
that, the implementation is all written in Haskell.
-
 Name:           ghc-HTTP
-Version:        4000.2.8
+Version:        4000.2.10
 Release:        0
-Summary:        %{common_summary}
+Summary:        A library for client-side HTTP
 License:        BSD-3-Clause
 Group:          System/Libraries
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# BEGIN cabal2spec
 Url:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRequires:  %{!?without_hscolour:hscolour}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-old-time-devel
 BuildRequires:  ghc-parsec-devel
-BuildRequires:  ghc-rpm-macros
-# END cabal2spec
+# End cabal-rpm deps
 
 %description
-%{common_description}
+The HTTP package supports client-side web programming in Haskell. It lets you
+set up HTTP connections, transmitting requests and processing the responses
+coming back, all from within the comforts of Haskell. It's dependent on the
+network package to operate, but other than that, the implementation is all
+written in Haskell.
+
+A basic API for issuing single HTTP requests + receiving responses is provided.
+On top of that, a session-level abstraction is also on offer (the
+BrowserAction monad); it taking care of handling the management of persistent
+connections, proxies, state (cookies) and authentication credentials required
+to handle multi-step interactions with a web server.
+
+The representation of the bytes flowing across is extensible via the use of a
+type class, letting you pick the representation of requests and responses that
+best fits your use. Some pre-packaged, common instances are provided for you
+(ByteString, String.)
+# ' Help EMACS syntax highlighting
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Languages/Other
-Requires:       ghc-compiler
-Requires(post): ghc-compiler
-Requires(postun): ghc-compiler
+Group:          Development/Libraries/Other
+Provides:       %{name}-static = %{version}-%{release}
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 Requires:       %{name} = %{version}-%{release}
 
 %description devel
-%{common_description}
-This package contains the development files.
+This package provides the Haskell %{pkg_name} library development files.
+
 
 %prep
 %setup -q -n %{pkg_name}-%{version}

++++++ HTTP-4000.2.8.tar.gz -> HTTP-4000.2.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-4000.2.8/HTTP.cabal 
new/HTTP-4000.2.10/HTTP.cabal
--- old/HTTP-4000.2.8/HTTP.cabal        2013-02-10 22:51:15.000000000 +0100
+++ new/HTTP-4000.2.10/HTTP.cabal       2013-12-09 21:07:19.000000000 +0100
@@ -1,5 +1,5 @@
 Name: HTTP
-Version: 4000.2.8
+Version: 4000.2.10
 Cabal-Version: >= 1.8
 Build-type: Simple
 License: BSD3
@@ -85,7 +85,7 @@
                  Network.HTTP.Utils
                  Paths_HTTP
   GHC-options: -fwarn-missing-signatures -Wall
-  Build-depends: base >= 2 && < 4.7, network < 2.5, parsec
+  Build-depends: base >= 2 && < 4.8, network < 2.5, parsec
   Extensions: FlexibleInstances
   if flag(old-base)
     Build-depends: base < 3
@@ -107,7 +107,7 @@
 Test-Suite test
   type: exitcode-stdio-1.0
 
-  build-tools: ghc >= 6.10 && < 7.8
+  build-tools: ghc >= 6.10 && < 7.10
 
   hs-source-dirs: test
   main-is: httpTests.hs
@@ -118,14 +118,15 @@
                      httpd-shed,
                      mtl >= 2.0 && < 2.2,
                      bytestring >= 0.9 && < 0.11,
-                     case-insensitive >= 0.4 && < 0.5,
+                     case-insensitive >= 0.4 && < 1.2,
                      deepseq >= 1.3 && < 1.4,
-                     http-types >= 0.6 && < 0.8,
-                     conduit >= 0.4 && < 0.6,
+                     http-types >= 0.6 && < 0.9,
+                     conduit >= 0.4 && < 1.1,
                      wai >= 1.2 && < 1.4,
-                     warp >= 1.2 && < 1.4,
+                     -- compile failure with warp 1.3.10
+                     warp >= 1.2 && < 1.3.10,
                      pureMD5 >= 2.1 && < 2.2,
-                     base >= 2 && < 4.7,
+                     base >= 2 && < 4.8,
                      network,
                      split >= 0.1 && < 0.3,
                      test-framework,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-4000.2.8/Network/HTTP/Base.hs 
new/HTTP-4000.2.10/Network/HTTP/Base.hs
--- old/HTTP-4000.2.8/Network/HTTP/Base.hs      2013-02-10 22:51:15.000000000 
+0100
+++ new/HTTP-4000.2.10/Network/HTTP/Base.hs     2013-12-09 21:07:19.000000000 
+0100
@@ -868,7 +868,7 @@
     = readL >>= 
       either (\v -> return $ Left v)
              (\more -> if (buf_isEmpty bufOps more)
-                         then return (Right ([],foldr (flip (buf_append 
bufOps)) (buf_empty bufOps) strs))
+                         then return (Right ([], buf_concat bufOps $ reverse 
strs))
                          else hopefulTransfer bufOps readL (more:strs))
 
 -- | A necessary feature of HTTP\/1.1

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to