diff --git a/.gitignore b/.gitignore index 8f53bf7..36f5f4f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,3 @@ /blaze-builder-0.3.1.1.tar.gz /blaze-builder-0.3.3.2.tar.gz /blaze-builder-0.3.3.4.tar.gz -/blaze-builder-0.4.0.2.tar.gz diff --git a/ghc-blaze-builder.spec b/ghc-blaze-builder.spec index c6cac15..bf286d0 100644 --- a/ghc-blaze-builder.spec +++ b/ghc-blaze-builder.spec @@ -2,45 +2,33 @@ %global pkg_name blaze-builder -%bcond_with tests +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} Name: ghc-%{pkg_name} -Version: 0.4.0.2 -Release: 1%{?dist} +Version: 0.3.3.4 +Release: 3%{?dist} Summary: Efficient buffered output 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-deepseq-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 %description -This library provides an implementation of the older blaze-builder interface in -terms of the new builder that shipped with bytestring-0.10.4.0 - -This implementation is mostly intended as a bridge to the new builder, so that -code that uses the old interface can interoperate with code that uses the new -implementation. Note that no attempt has been made to preserve the old internal -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. +This library provides an abstraction of buffered output of byte streams and +several convenience functions to exploit it. For example, it allows to +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 +prefetching in later processing steps (e.g. compression) and reduces the system +call overhead when writing the resulting lazy bytestring to a file or sending +it over the network. %package devel @@ -66,14 +54,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - - -%check -%if %{with tests} -%cabal test -%endif - %post devel %ghc_pkg_recache @@ -84,7 +64,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files @@ -92,9 +72,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog -* Thu Jun 23 2016 Jens Petersen - 0.4.0.2-1 -- update to 0.4.0.2 - * Wed Feb 03 2016 Fedora Release Engineering - 0.3.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 6bf97f5..ee4d928 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c2a58840d974e73b6acae0aeb3836fb1 blaze-builder-0.4.0.2.tar.gz +e907804abf9078826cb62f7fc2a2f39f blaze-builder-0.3.3.4.tar.gz