Hello community, here is the log from the commit of package perl-Compress-Zlib checked in at Sun Mar 11 00:07:46 CET 2007. -------- --- perl-Compress-Zlib/perl-Compress-Zlib.changes 2007-02-28 15:03:00.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Compress-Zlib/perl-Compress-Zlib.changes 2007-03-09 09:49:13.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 9 09:48:11 CET 2007 - anicka@suse.cz + +- update to 2.004 + * rewrote memGzip using IO::Compress::Gzip::gzip + +------------------------------------------------------------------- Old: ---- Compress-Zlib-2.003.tar.bz2 New: ---- Compress-Zlib-2.004.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Compress-Zlib.spec ++++++ --- /var/tmp/diff_new_pack.P10226/_old 2007-03-11 00:04:08.000000000 +0100 +++ /var/tmp/diff_new_pack.P10226/_new 2007-03-11 00:04:08.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package perl-Compress-Zlib (Version 2.003) +# spec file for package perl-Compress-Zlib (Version 2.004) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -20,7 +20,7 @@ BuildRequires: perl-Compress-Raw-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib Autoreqprov: on Summary: Perl interface to part of the info-zip zlib compression library -Version: 2.003 +Version: 2.004 Release: 1 Source: Compress-Zlib-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -61,6 +61,9 @@ /var/adm/perl-modules/perl-Compress-Zlib %changelog +* Fri Mar 09 2007 - anicka@suse.cz +- update to 2.004 + * rewrote memGzip using IO::Compress::Gzip::gzip * Wed Feb 28 2007 - anicka@suse.cz - update to 2.003 * major release, complete rewrite ++++++ Compress-Zlib-2.003.tar.bz2 -> Compress-Zlib-2.004.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/Changes new/Compress-Zlib-2.004/Changes --- old/Compress-Zlib-2.003/Changes 2007-01-02 11:17:43.000000000 +0100 +++ new/Compress-Zlib-2.004/Changes 2007-03-03 16:17:34.000000000 +0100 @@ -1,6 +1,10 @@ CHANGES ------- + 2.004 3 March 2007 + + * rewrote memGzip using IO::Compress::Gzip::gzip + 2.003 2 January 2007 * Added explicit version checking diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/lib/Compress/Zlib.pm new/Compress-Zlib-2.004/lib/Compress/Zlib.pm --- old/Compress-Zlib-2.003/lib/Compress/Zlib.pm 2007-01-02 12:13:49.000000000 +0100 +++ new/Compress-Zlib-2.004/lib/Compress/Zlib.pm 2007-03-03 16:20:08.000000000 +0100 @@ -8,17 +8,17 @@ use IO::Handle ; use Scalar::Util qw(dualvar); -use IO::Compress::Base::Common 2.003 ; -use Compress::Raw::Zlib 2.003 ; -use IO::Compress::Gzip 2.003 ; -use IO::Uncompress::Gunzip 2.003 ; +use IO::Compress::Base::Common 2.004 ; +use Compress::Raw::Zlib 2.004 ; +use IO::Compress::Gzip 2.004 ; +use IO::Uncompress::Gunzip 2.004 ; use strict ; use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.003'; +$VERSION = '2.004'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -438,35 +438,19 @@ package Compress::Zlib ; -use IO::Compress::Gzip::Constants 2.003 ; +use IO::Compress::Gzip::Constants 2.004 ; sub memGzip($) { - my $x = new Compress::Raw::Zlib::Deflate( - -AppendOutput => 1, - -CRC32 => 1, - -ADLER32 => 0, - -Level => Z_BEST_COMPRESSION(), - -WindowBits => - MAX_WBITS(), - ) - or return undef ; - - # write a minimal gzip header - my $output = GZIP_MINIMUM_HEADER ; - + my $out; + # if the deflation buffer isn't a reference, make it one my $string = (ref $_[0] ? $_[0] : \$_[0]) ; - my $status = $x->deflate($string, \$output) ; - $status == Z_OK() + IO::Compress::Gzip::gzip($string, \$out, Minimal => 1) or return undef ; - - $status = $x->flush(\$output) ; - $status == Z_OK() - or return undef ; - - return $output . pack("V V", $x->crc32(), $x->total_in()) ; - + + return $out; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/Makefile.PL new/Compress-Zlib-2.004/Makefile.PL --- old/Compress-Zlib-2.003/Makefile.PL 2006-12-31 16:57:22.000000000 +0100 +++ new/Compress-Zlib-2.004/Makefile.PL 2007-02-17 19:28:17.000000000 +0100 @@ -3,7 +3,7 @@ use strict ; require 5.004 ; -$::VERSION = '2.003' ; +$::VERSION = '2.004' ; use private::MakeUtil; use ExtUtils::MakeMaker 5.16 ; @@ -42,6 +42,9 @@ : () ), + ((ExtUtils::MakeMaker->VERSION() gt '6.30') ? + ('LICENSE' => 'perl') : ()), + ) ; # end of file Makefile.PL diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/META.yml new/Compress-Zlib-2.004/META.yml --- old/Compress-Zlib-2.003/META.yml 2007-01-02 12:15:26.000000000 +0100 +++ new/Compress-Zlib-2.004/META.yml 2007-03-03 16:34:31.000000000 +0100 @@ -1,18 +1,18 @@ --- #YAML:1.0 name: Compress-Zlib -version: 2.003 +version: 2.004 abstract: Interface to zlib compression library -license: ~ +license: perl generated_by: ExtUtils::MakeMaker version 6.31 distribution_type: module requires: - Compress::Raw::Zlib: 2.003 - IO::Compress::Base: 2.003 - IO::Compress::Base::Common: 2.003 - IO::Compress::Gzip: 2.003 - IO::Compress::Gzip::Constants: 2.003 - IO::Uncompress::Base: 2.003 - IO::Uncompress::Gunzip: 2.003 + Compress::Raw::Zlib: 2.004 + IO::Compress::Base: 2.004 + IO::Compress::Base::Common: 2.004 + IO::Compress::Gzip: 2.004 + IO::Compress::Gzip::Constants: 2.004 + IO::Uncompress::Base: 2.004 + IO::Uncompress::Gunzip: 2.004 Scalar::Util: 0 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.2.html diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/README new/Compress-Zlib-2.004/README --- old/Compress-Zlib-2.003/README 2007-01-02 12:13:48.000000000 +0100 +++ new/Compress-Zlib-2.004/README 2007-03-03 16:20:07.000000000 +0100 @@ -1,9 +1,9 @@ Compress::Zlib - Version 2.003 + Version 2.004 - 2nd January 2007 + 3rd March 2007 Copyright (c) 1995-2007 Paul Marquess. All rights reserved. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/t/000prereq.t new/Compress-Zlib-2.004/t/000prereq.t --- old/Compress-Zlib-2.003/t/000prereq.t 2007-01-02 12:13:46.000000000 +0100 +++ new/Compress-Zlib-2.004/t/000prereq.t 2007-03-03 16:20:06.000000000 +0100 @@ -27,7 +27,7 @@ if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 }; - my $VERSION = '2.003'; + my $VERSION = '2.004'; my @NAMES = qw( Compress::Raw::Zlib IO::Compress::Base diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Compress-Zlib-2.003/t/03zlib-v1.t new/Compress-Zlib-2.004/t/03zlib-v1.t --- old/Compress-Zlib-2.003/t/03zlib-v1.t 2006-12-27 20:17:32.000000000 +0100 +++ new/Compress-Zlib-2.004/t/03zlib-v1.t 2007-02-19 12:59:13.000000000 +0100 @@ -857,8 +857,8 @@ ok $k = inflateInit() ; - #$Z = $k->inflate(substr($Y, 0, -1)) ; - $Z = $k->inflate(substr($Y, 0)) ; + $Z = $k->inflate(substr($Y, 0, -1)) ; + #$Z = $k->inflate(substr($Y, 0)) ; ok $contents eq $Z ; is $Y, $append; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org