Revert "update to 0.4.0.2"

to help build blaze-builder-enumerator

This reverts commit f605cac564.
This commit is contained in:
Jens Petersen 2016-06-27 16:15:16 +09:00
parent f605cac564
commit 37771ec2d5
3 changed files with 14 additions and 38 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@
/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,45 +2,33 @@
%global pkg_name blaze-builder %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} Name: ghc-%{pkg_name}
Version: 0.4.0.2 Version: 0.3.3.4
Release: 1%{?dist} Release: 3%{?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 implementation of the older blaze-builder interface in This library provides an abstraction of buffered output of byte streams and
terms of the new builder that shipped with bytestring-0.10.4.0 several convenience functions to exploit it. For example, it allows to
efficiently serialize Haskell values to lazy bytestrings with a large average
This implementation is mostly intended as a bridge to the new builder, so that chunk size. The large average chunk size allows to make good use of cache
code that uses the old interface can interoperate with code that uses the new prefetching in later processing steps (e.g. compression) and reduces the system
implementation. Note that no attempt has been made to preserve the old internal call overhead when writing the resulting lazy bytestring to a file or sending
modules, so code that has these dependencies cannot use this interface. it over the network.
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
@ -66,14 +54,6 @@ 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
@ -84,7 +64,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%files -f %{name}.files %files -f %{name}.files
%license LICENSE %doc LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
@ -92,9 +72,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%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 @@
c2a58840d974e73b6acae0aeb3836fb1 blaze-builder-0.4.0.2.tar.gz e907804abf9078826cb62f7fc2a2f39f blaze-builder-0.3.3.4.tar.gz