Hello community, here is the log from the commit of package ghc-blaze-builder for openSUSE:Factory checked in at 2016-07-21 08:06:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-blaze-builder (Old) and /work/SRC/openSUSE:Factory/.ghc-blaze-builder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-blaze-builder" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-blaze-builder/ghc-blaze-builder.changes 2016-04-30 23:30:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-blaze-builder.new/ghc-blaze-builder.changes 2016-07-21 08:06:12.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:35:16 UTC 2016 - [email protected] + +- Update to version 0.4.0.2 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-blaze-builder.spec ++++++ --- /var/tmp/diff_new_pack.ar8S9i/_old 2016-07-21 08:06:13.000000000 +0200 +++ /var/tmp/diff_new_pack.ar8S9i/_new 2016-07-21 08:06:13.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-blaze-builder # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,68 +17,74 @@ %global pkg_name blaze-builder - -Name: ghc-blaze-builder +%bcond_with tests +Name: ghc-%{pkg_name} Version: 0.4.0.2 Release: 0 -Summary: Haskell library for efficient buffered output +Summary: Efficient buffered output 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 - +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-rpm-macros BuildRequires: ghc-text-devel -BuildRequires: ghc-text-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%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 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 sytem call overhead -when writing the resulting lazy bytestring to a file or -sending it over the network. +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. %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description devel -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 sytem call overhead -when writing the resulting lazy bytestring to a file or -sending it over the network. - +This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} + %build %ghc_lib_build + %install %ghc_lib_install + +%check +%if %{with tests} +%{cabal} test +%endif + + %post devel %ghc_pkg_recache @@ -86,11 +92,11 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root) +%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root) -%doc TODO README.markdown +%defattr(-,root,root,-) +%doc README.markdown TODO %changelog
