update to 0.4.0.2

This commit is contained in:
Jens Petersen 2016-06-23 12:17:47 +09:00
parent 4c5ae509f0
commit f605cac564
3 changed files with 38 additions and 14 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/blaze-builder-0.3.1.1.tar.gz /blaze-builder-0.3.1.1.tar.gz
/blaze-builder-0.3.3.2.tar.gz /blaze-builder-0.3.3.2.tar.gz
/blaze-builder-0.3.3.4.tar.gz /blaze-builder-0.3.3.4.tar.gz
/blaze-builder-0.4.0.2.tar.gz

View File

@ -2,33 +2,45 @@
%global pkg_name blaze-builder %global pkg_name blaze-builder
# no useful debuginfo for Haskell packages without C sources %bcond_with tests
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.3.3.4 Version: 0.4.0.2
Release: 3%{?dist} Release: 1%{?dist}
Summary: Efficient buffered output Summary: Efficient buffered output
License: BSD License: BSD
URL: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-text-devel BuildRequires: ghc-text-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
BuildRequires: ghc-utf8-string-devel
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
This library provides an abstraction of buffered output of byte streams and This library provides an implementation of the older blaze-builder interface in
several convenience functions to exploit it. For example, it allows to terms of the new builder that shipped with bytestring-0.10.4.0
efficiently serialize Haskell values to lazy bytestrings with a large average
chunk size. The large average chunk size allows to make good use of cache This implementation is mostly intended as a bridge to the new builder, so that
prefetching in later processing steps (e.g. compression) and reduces the system code that uses the old interface can interoperate with code that uses the new
call overhead when writing the resulting lazy bytestring to a file or sending implementation. Note that no attempt has been made to preserve the old internal
it over the network. modules, so code that has these dependencies cannot use this interface.
New code should, for the most part, use the new interface. However, this module
does implement a chunked HTTP encoding, which is not otherwise implemented
(yet?) with the new builder.
%package devel %package devel
@ -54,6 +66,14 @@ This package provides the Haskell %{pkg_name} library development files.
%install %install
%ghc_lib_install %ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%check
%if %{with tests}
%cabal test
%endif
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -64,7 +84,7 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files %files -f %{name}.files
%doc LICENSE %license LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
@ -72,6 +92,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.4.0.2-1
- update to 0.4.0.2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3.4-3 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
e907804abf9078826cb62f7fc2a2f39f blaze-builder-0.3.3.4.tar.gz c2a58840d974e73b6acae0aeb3836fb1 blaze-builder-0.4.0.2.tar.gz