Revert "update to 0.4.0.2"
to help build blaze-builder-enumerator
This reverts commit f605cac564
.
This commit is contained in:
parent
f605cac564
commit
37771ec2d5
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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 <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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user