commit ghc-zlib for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-zlib for openSUSE:Factory checked in at 2016-01-07 00:24:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old) and /work/SRC/openSUSE:Factory/.ghc-zlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-zlib" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes 2015-05-13 07:12:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes 2016-01-07 00:25:02.000000000 +0100 @@ -1,0 +2,14 @@ +Wed Dec 30 11:25:25 UTC 2015 - mimi.vx@gmail.com + +- update to 0.6.1.1 +- regenerated spec file with cabal-rpm +* Support for concatenated gzip files (multiple back-to-back streams) +* Fixed warnings with new GHC +* Fixed testsuite +* New incremental interface for compression and decompression +* Provide access to unconsumed trailing data +* Simplified structured error type, and instance of Exception +* Fixed memory leak of zlib z_stream C structure +* More derivied instances (Eq, Show, Typeable, Generic) + +------------------------------------------------------------------- Old: ---- zlib-0.5.4.2.tar.gz New: ---- zlib-0.6.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-zlib.spec ++++++ --- /var/tmp/diff_new_pack.3lQLEc/_old 2016-01-07 00:25:04.000000000 +0100 +++ /var/tmp/diff_new_pack.3lQLEc/_new 2016-01-07 00:25:04.000000000 +0100 @@ -15,66 +15,95 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %global pkg_name zlib -%global common_summary Haskell gzip and zlib formats library - -%global common_description This package provides a pure interface for compressing and decompressing streams of data represented as lazy ByteStrings. It uses the zlib C library so it has high performance. It supports the "zlib", "gzip" and "raw" compression formats. +%bcond_with tests Name: ghc-zlib -Version: 0.5.4.2 +Version: 0.6.1.1 Release: 0 -Summary: %{common_summary} -License: BSD-2-Clause +Summary: Compression and decompression in the gzip and zlib formats Group: System/Libraries +License: BSD-2-Clause +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -# BEGIN cabal2spec -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-bytestring-devel BuildRequires: zlib-devel -# END cabal2spec +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif +# End cabal-rpm deps %description -%{common_description} +This package provides a pure interface for compressing and decompressing +streams of data represented as lazy 'ByteString's. It uses the zlib C library +so it has high performance. It supports the "zlib", "gzip" and "raw" +compression formats. + +It provides a convenient high level API suitable for most tasks and for the few +cases where more control is needed it provides access to the full zlib feature +set. + %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Languages/Other -Requires: ghc-compiler -Requires: zlib-devel -Requires(post): ghc-compiler -Requires(postun): ghc-compiler +Group: Development/Libraries/Other +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} +# Begin cabal-rpm deps: +Requires: zlib-devel +# End cabal-rpm deps %description devel -%{common_description} -This package contains the development files. +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 + %postun devel %ghc_pkg_recache + %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE + %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc examples + %changelog ++++++ zlib-0.5.4.2.tar.gz -> zlib-0.6.1.1.tar.gz ++++++ ++++ 4977 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de