From 2be9471715519007caead626e000ed06f06a7db9b60ceb0ef109e4113b0fb6dd Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Tue, 3 Feb 2015 07:56:21 +0000 Subject: [PATCH] Accepting request 283704 from home:mimi_vx:branches:devel:languages:haskell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - version bump to 0.8.5 + should not link to aws + Allow array 0.5 + remove upper boundary on text, may text simply never break anything + Derive some typeclasses for ByteRange + Allow case-insensitive 1.2 + Add additional HTTP status codes as per RFC 6585 (close #45) + Add Network.HTTP.Types.URI.extractPath … + Add support for HTTPS URLs to extractPath + Add documentation and tests for extractPath + Add doctest driver + extractPath from Network.HTTP.Types + Added urlEncode docs OBS-URL: https://build.opensuse.org/request/show/283704 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-types?expand=0&rev=3 --- ghc-http-types.changes | 16 ++++++++++++++++ ghc-http-types.spec | 25 ++++++++++++++++++------- http-types-0.8.1.tar.gz | 3 --- http-types-0.8.5.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 10 deletions(-) delete mode 100644 http-types-0.8.1.tar.gz create mode 100644 http-types-0.8.5.tar.gz diff --git a/ghc-http-types.changes b/ghc-http-types.changes index ecbb709..0bb0886 100644 --- a/ghc-http-types.changes +++ b/ghc-http-types.changes @@ -1,4 +1,20 @@ ------------------------------------------------------------------- +Sun Feb 1 21:20:26 UTC 2015 - mimi.vx@gmail.com + +- version bump to 0.8.5 + + should not link to aws + + Allow array 0.5 + + remove upper boundary on text, may text simply never break anything + + Derive some typeclasses for ByteRange + + Allow case-insensitive 1.2 + + Add additional HTTP status codes as per RFC 6585 (close #45) + + Add Network.HTTP.Types.URI.extractPath … + + Add support for HTTPS URLs to extractPath + + Add documentation and tests for extractPath + + Add doctest driver + + extractPath from Network.HTTP.Types + + Added urlEncode docs +------------------------------------------------------------------- Mon Oct 7 08:37:48 UTC 2013 - sbahling@suse.com - Initial package - version 0.8.1 diff --git a/ghc-http-types.spec b/ghc-http-types.spec index b992a67..59cbba3 100644 --- a/ghc-http-types.spec +++ b/ghc-http-types.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-http-types # -# Copyright (c) 2013 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 @@ -18,17 +18,19 @@ %global pkg_name http-types +%bcond_with tests + +%global debug_package %{nil} + Name: ghc-http-types -Version: 0.8.1 +Version: 0.8.5 Release: 0 Summary: Generic HTTP types for Haskell (for both client and server code) License: BSD-3-Clause Group: System/Libraries - Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: @@ -37,10 +39,16 @@ BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-doctest-devel +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-quickcheck-instances-devel +%endif # End cabal-rpm deps %description -Generic HTTP types for Haskell (for both client and server code). +Generic HTTP types for Haskell. (for both client and server code). %package devel @@ -48,12 +56,10 @@ Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other Provides: %{name}-static = %{version}-%{release} Requires: %{name} = %{version}-%{release} -Requires: ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} @@ -63,6 +69,11 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache diff --git a/http-types-0.8.1.tar.gz b/http-types-0.8.1.tar.gz deleted file mode 100644 index 2fa3aed..0000000 --- a/http-types-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7bcdc87f53a53f6fe9e176a332f609a773939e77ae1df44965b73fb20ed1d1e -size 11455 diff --git a/http-types-0.8.5.tar.gz b/http-types-0.8.5.tar.gz new file mode 100644 index 0000000..32983b0 --- /dev/null +++ b/http-types-0.8.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cb243486053f2e80af255ab79009c2ef057d314d5710ba7aa65fa3e9c164834 +size 10781