Hello community, here is the log from the commit of package perl-Redis for openSUSE:Factory checked in at 2016-02-17 10:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Redis (Old) and /work/SRC/openSUSE:Factory/.perl-Redis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Redis" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Redis/perl-Redis.changes 2015-10-08 08:24:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Redis.new/perl-Redis.changes 2016-02-17 12:20:29.000000000 +0100 @@ -1,0 +2,9 @@ +Sat Feb 13 10:36:11 UTC 2016 - [email protected] + +- updated to 1.982 + see /usr/share/doc/packages/perl-Redis/Changes + + 1.982 2016-02-11 09:02:40CET+0100 Europe/Paris + * fix issue #117: fix backward compatibility with 5.8 + +------------------------------------------------------------------- Old: ---- Redis-1.981.tar.gz New: ---- Redis-1.982.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Redis.spec ++++++ --- /var/tmp/diff_new_pack.ZgpHVV/_old 2016-02-17 12:20:30.000000000 +0100 +++ /var/tmp/diff_new_pack.ZgpHVV/_new 2016-02-17 12:20:30.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Redis # -# 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,7 +17,7 @@ Name: perl-Redis -Version: 1.981 +Version: 1.982 Release: 0 %define cpan_name Redis Summary: Perl binding for Redis database @@ -49,10 +49,10 @@ %{perl_requires} %description -Pure perl bindings for the http://redis.io/ manpage +Pure perl bindings for http://redis.io/ This version supports protocol 2.x (multi-bulk) or later of Redis available -at the https://github.com/antirez/redis/ manpage. +at https://github.com/antirez/redis/. This documentation lists commands which are exercised in test suite, but additional commands will work correctly since protocol specifies enough @@ -61,7 +61,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Build.PL --installdirs=vendor ++++++ Redis-1.981.tar.gz -> Redis-1.982.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/Build.PL new/Redis-1.982/Build.PL --- old/Redis-1.981/Build.PL 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/Build.PL 2016-02-11 09:02:45.000000000 +0100 @@ -1,3 +1,3 @@ -use 5.010; +use 5.008; use Module::Build::Tiny 0.039; Build_PL(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/Changes new/Redis-1.982/Changes --- old/Redis-1.981/Changes 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/Changes 2016-02-11 09:02:45.000000000 +0100 @@ -1,5 +1,8 @@ Revision history for Redis +1.982 2016-02-11 09:02:40CET+0100 Europe/Paris + * fix issue #117: fix backward compatibility with 5.8 + 1.981 2015-09-29 12:31:57CEST+0200 Europe/Paris * fix a bug where when not yet connected, pid is undef, leading to warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/META.json new/Redis-1.982/META.json --- old/Redis-1.981/META.json 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/META.json 2016-02-11 09:02:45.000000000 +0100 @@ -5,7 +5,7 @@ "Damien Krotkine <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.143240", + "generated_by" : "Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.150005", "license" : [ "artistic_2" ], @@ -32,7 +32,7 @@ "requires" : { "IO::Socket::Timeout" : "0.29", "Try::Tiny" : "0", - "perl" : "5.010" + "perl" : "5.008" } }, "test" : { @@ -65,6 +65,6 @@ "web" : "https://github.com/PerlRedis/perl-redis" } }, - "version" : "1.981" + "version" : "1.982" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/META.yml new/Redis-1.982/META.yml --- old/Redis-1.981/META.yml 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/META.yml 2016-02-11 09:02:45.000000000 +0100 @@ -21,7 +21,7 @@ ExtUtils::MakeMaker: 6.63_03 Module::Build::Tiny: 0.039 dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.143240' +generated_by: 'Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.150005' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -30,9 +30,9 @@ requires: IO::Socket::Timeout: 0.29 Try::Tiny: 0 - perl: 5.010 + perl: 5.008 resources: bugtracker: https://github.com/PerlRedis/perl-redis/issues homepage: https://github.com/PerlRedis/perl-redis repository: https://github.com/PerlRedis/perl-redis.git -version: 1.981 +version: 1.982 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/Makefile.PL new/Redis-1.982/Makefile.PL --- old/Redis-1.981/Makefile.PL 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/Makefile.PL 2016-02-11 09:02:45.000000000 +0100 @@ -68,7 +68,7 @@ } } -use 5.010; +use 5.008; use ExtUtils::MakeMaker 6.63_03; my %WriteMakefileArgs = ( @@ -84,7 +84,7 @@ "DISTNAME" => "Redis", "EXE_FILES" => [], "LICENSE" => "artistic_2", - "MIN_PERL_VERSION" => "5.010", + "MIN_PERL_VERSION" => "5.008", "NAME" => "Redis", "PREREQ_PM" => { "IO::Socket::Timeout" => "0.29", @@ -105,7 +105,7 @@ "Test::SharedFork" => 0, "Test::TCP" => "1.19" }, - "VERSION" => "1.981", + "VERSION" => "1.982", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/README new/Redis-1.982/README --- old/Redis-1.981/README 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/README 2016-02-11 09:02:45.000000000 +0100 @@ -1,7 +1,7 @@ This archive contains the distribution Redis, -version 1.981: +version 1.982: Perl binding for Redis database diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/lib/Redis/Hash.pm new/Redis-1.982/lib/Redis/Hash.pm --- old/Redis-1.981/lib/Redis/Hash.pm 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/lib/Redis/Hash.pm 2016-02-11 09:02:45.000000000 +0100 @@ -8,7 +8,7 @@ # The Artistic License 2.0 (GPL Compatible) # package Redis::Hash; -$Redis::Hash::VERSION = '1.981'; +$Redis::Hash::VERSION = '1.982'; # ABSTRACT: tie Perl hashes to Redis hashes # VERSION # AUTHORITY @@ -86,7 +86,7 @@ =head1 VERSION -version 1.981 +version 1.982 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/lib/Redis/List.pm new/Redis-1.982/lib/Redis/List.pm --- old/Redis-1.981/lib/Redis/List.pm 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/lib/Redis/List.pm 2016-02-11 09:02:45.000000000 +0100 @@ -8,7 +8,7 @@ # The Artistic License 2.0 (GPL Compatible) # package Redis::List; -$Redis::List::VERSION = '1.981'; +$Redis::List::VERSION = '1.982'; # ABSTRACT: tie Perl arrays to Redis lists # VERSION # AUTHORITY @@ -106,7 +106,7 @@ =head1 VERSION -version 1.981 +version 1.982 =head1 SYNOPSYS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/lib/Redis/Sentinel.pm new/Redis-1.982/lib/Redis/Sentinel.pm --- old/Redis-1.981/lib/Redis/Sentinel.pm 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/lib/Redis/Sentinel.pm 2016-02-11 09:02:45.000000000 +0100 @@ -8,7 +8,7 @@ # The Artistic License 2.0 (GPL Compatible) # package Redis::Sentinel; -$Redis::Sentinel::VERSION = '1.981'; +$Redis::Sentinel::VERSION = '1.982'; # ABSTRACT: Redis Sentinel interface use warnings; @@ -54,7 +54,7 @@ =head1 VERSION -version 1.981 +version 1.982 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/lib/Redis.pm new/Redis-1.982/lib/Redis.pm --- old/Redis-1.981/lib/Redis.pm 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/lib/Redis.pm 2016-02-11 09:02:45.000000000 +0100 @@ -8,7 +8,7 @@ # The Artistic License 2.0 (GPL Compatible) # package Redis; -$Redis::VERSION = '1.981'; +$Redis::VERSION = '1.982'; # ABSTRACT: Perl binding for Redis database # VERSION # AUTHORITY @@ -685,7 +685,7 @@ my $deb = $self->{debug}; # if already connected but after a fork, reconnect - if ($self->{sock} && ($self->{pid} // 0) != $$) { + if ($self->{sock} && ($self->{pid} || 0) != $$) { $self->connect; } @@ -905,7 +905,7 @@ =head1 VERSION -version 1.981 +version 1.982 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.981/t/00-compile.t new/Redis-1.982/t/00-compile.t --- old/Redis-1.981/t/00-compile.t 2015-09-29 12:32:03.000000000 +0200 +++ new/Redis-1.982/t/00-compile.t 2016-02-11 09:02:45.000000000 +0100 @@ -1,11 +1,12 @@ +use 5.006; use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.037 - -use Test::More tests => 4 + ($ENV{AUTHOR_TESTING} ? 1 : 0); +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +use Test::More; +plan tests => 4 + ($ENV{AUTHOR_TESTING} ? 1 : 0); my @module_files = ( 'Redis.pm', @@ -24,11 +25,12 @@ use IPC::Open3; use IO::Handle; +open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; + my @warnings; for my $lib (@module_files) { # see L<perlfaq8/How can I capture STDERR from an external command?> - open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; my $stderr = IO::Handle->new; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); @@ -37,6 +39,9 @@ waitpid($pid, 0); is($?, 0, "$lib loaded ok"); + shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ + and not eval { require blib; blib->VERSION('1.01') }; + if (@_warnings) { warn @_warnings; @@ -46,6 +51,7 @@ -is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; +is(scalar(@warnings), 0, 'no warnings found') + or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING};
