Hello community,

here is the log from the commit of package perl-Test-LeakTrace for 
openSUSE:Factory checked in at 2015-04-15 16:27:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-LeakTrace (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-LeakTrace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-LeakTrace"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-LeakTrace/perl-Test-LeakTrace.changes  
2011-11-21 12:47:30.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-LeakTrace.new/perl-Test-LeakTrace.changes 
    2015-04-15 16:27:07.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Apr 14 15:52:24 UTC 2015 - [email protected]
+
+- updated to 0.15
+   see /usr/share/doc/packages/perl-Test-LeakTrace/Changes
+
+  0.15 2014-11-14 07:51:22+0900
+      - Fix test failure on Windows (#1)
+
+-------------------------------------------------------------------

Old:
----
  Test-LeakTrace-0.14.tar.gz

New:
----
  Test-LeakTrace-0.15.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Test-LeakTrace.spec ++++++
--- /var/tmp/diff_new_pack.PT6jGL/_old  2015-04-15 16:27:07.000000000 +0200
+++ /var/tmp/diff_new_pack.PT6jGL/_new  2015-04-15 16:27:07.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-LeakTrace
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,15 +16,14 @@
 #
 
 
-
 Name:           perl-Test-LeakTrace
-Version:        0.14
-Release:        1
-License:        GPL-1.0+ or Artistic-1.0
+Version:        0.15
+Release:        0
 %define cpan_name Test-LeakTrace
 Summary:        Traces memory leaks
-Url:            http://search.cpan.org/dist/Test-LeakTrace/
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/Test-LeakTrace/
 Source:         
http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -60,6 +59,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes README
+%doc Changes example README
 
 %changelog

++++++ Test-LeakTrace-0.14.tar.gz -> Test-LeakTrace-0.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/Changes 
new/Test-LeakTrace-0.15/Changes
--- old/Test-LeakTrace-0.14/Changes     2011-10-07 11:22:39.000000000 +0200
+++ new/Test-LeakTrace-0.15/Changes     2014-11-13 23:51:36.000000000 +0100
@@ -1,5 +1,8 @@
 Revision history for Perl extension Test::LeakTrace
 
+0.15 2014-11-14 07:51:22+0900
+    - Fix test failure on Windows (#1)
+
 0.14 2011-10-07 02:22:11
     - Fix Test::Valgrind failures (thanks to @shohex)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/META.yml 
new/Test-LeakTrace-0.15/META.yml
--- old/Test-LeakTrace-0.14/META.yml    2011-10-07 11:24:30.000000000 +0200
+++ new/Test-LeakTrace-0.15/META.yml    2014-11-13 23:51:52.000000000 +0100
@@ -3,11 +3,12 @@
 author:
   - 'Goro Fuji(gfx) <gfuji(at)cpan.org>.'
 build_requires:
-  ExtUtils::MakeMaker: 6.42
+  ExtUtils::MakeMaker: 6.59
 configure_requires:
-  ExtUtils::MakeMaker: 6.42
+  ExtUtils::MakeMaker: 6.59
 distribution_type: module
-generated_by: 'Module::Install version 1.02'
+dynamic_config: 1
+generated_by: 'Module::Install version 1.14'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,5 +26,5 @@
   perl: 5.8.1
 resources:
   license: http://dev.perl.org/licenses/
-  repository: git://github.com/gfx/Perl-Test-LeakTrace.git
-version: 0.14
+  repository: git://github.com/gfx/p5-Test-LeakTrace.git
+version: 0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/inc/Module/Install/Base.pm 
new/Test-LeakTrace-0.15/inc/Module/Install/Base.pm
--- old/Test-LeakTrace-0.14/inc/Module/Install/Base.pm  2011-10-07 
11:24:29.000000000 +0200
+++ new/Test-LeakTrace-0.15/inc/Module/Install/Base.pm  2014-11-13 
23:51:52.000000000 +0100
@@ -4,7 +4,7 @@
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-       $VERSION = '1.02';
+       $VERSION = '1.14';
 }
 
 # Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/inc/Module/Install/MakeMaker.pm 
new/Test-LeakTrace-0.15/inc/Module/Install/MakeMaker.pm
--- old/Test-LeakTrace-0.14/inc/Module/Install/MakeMaker.pm     2011-10-07 
11:24:29.000000000 +0200
+++ new/Test-LeakTrace-0.15/inc/Module/Install/MakeMaker.pm     2014-11-13 
23:51:52.000000000 +0100
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.02';
+       $VERSION = '1.14';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/inc/Module/Install/Makefile.pm 
new/Test-LeakTrace-0.15/inc/Module/Install/Makefile.pm
--- old/Test-LeakTrace-0.14/inc/Module/Install/Makefile.pm      2011-10-07 
11:24:29.000000000 +0200
+++ new/Test-LeakTrace-0.15/inc/Module/Install/Makefile.pm      2014-11-13 
23:51:52.000000000 +0100
@@ -8,7 +8,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.02';
+       $VERSION = '1.14';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
@@ -133,7 +133,7 @@
        return $args;
 }
 
-# For mm args that take multiple space-seperated args,
+# For mm args that take multiple space-separated args,
 # append an argument to the current list.
 sub makemaker_append {
        my $self = shift;
@@ -215,18 +215,22 @@
        require ExtUtils::MakeMaker;
 
        if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) {
-               # MakeMaker can complain about module versions that include
-               # an underscore, even though its own version may contain one!
-               # Hence the funny regexp to get rid of it.  See RT #35800
-               # for details.
-               my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/;
-               $self->build_requires(     'ExtUtils::MakeMaker' => $v );
-               $self->configure_requires( 'ExtUtils::MakeMaker' => $v );
+               # This previous attempted to inherit the version of
+               # ExtUtils::MakeMaker in use by the module author, but this
+               # was found to be untenable as some authors build releases
+               # using future dev versions of EU:MM that nobody else has.
+               # Instead, #toolchain suggests we use 6.59 which is the most
+               # stable version on CPAN at time of writing and is, to quote
+               # ribasushi, "not terminally fucked, > and tested enough".
+               # TODO: We will now need to maintain this over time to push
+               # the version up as new versions are released.
+               $self->build_requires(     'ExtUtils::MakeMaker' => 6.59 );
+               $self->configure_requires( 'ExtUtils::MakeMaker' => 6.59 );
        } else {
                # Allow legacy-compatibility with 5.005 by depending on the
                # most recent EU:MM that supported 5.005.
-               $self->build_requires(     'ExtUtils::MakeMaker' => 6.42 );
-               $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 );
+               $self->build_requires(     'ExtUtils::MakeMaker' => 6.36 );
+               $self->configure_requires( 'ExtUtils::MakeMaker' => 6.36 );
        }
 
        # Generate the MakeMaker params
@@ -241,7 +245,6 @@
 'all_from' if you prefer) in Makefile.PL.
 EOT
 
-       $DB::single = 1;
        if ( $self->tests ) {
                my @tests = split ' ', $self->tests;
                my %seen;
@@ -412,4 +415,4 @@
 
 __END__
 
-#line 541
+#line 544
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/inc/Module/Install/Metadata.pm 
new/Test-LeakTrace-0.15/inc/Module/Install/Metadata.pm
--- old/Test-LeakTrace-0.14/inc/Module/Install/Metadata.pm      2011-10-07 
11:24:29.000000000 +0200
+++ new/Test-LeakTrace-0.15/inc/Module/Install/Metadata.pm      2014-11-13 
23:51:52.000000000 +0100
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.02';
+       $VERSION = '1.14';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
@@ -151,15 +151,21 @@
 sub install_as_vendor { $_[0]->installdirs('vendor') }
 
 sub dynamic_config {
-       my $self = shift;
-       unless ( @_ ) {
-               warn "You MUST provide an explicit true/false value to 
dynamic_config\n";
-               return $self;
+       my $self  = shift;
+       my $value = @_ ? shift : 1;
+       if ( $self->{values}->{dynamic_config} ) {
+               # Once dynamic we never change to static, for safety
+               return 0;
        }
-       $self->{values}->{dynamic_config} = $_[0] ? 1 : 0;
+       $self->{values}->{dynamic_config} = $value ? 1 : 0;
        return 1;
 }
 
+# Convenience command
+sub static_config {
+       shift->dynamic_config(0);
+}
+
 sub perl_version {
        my $self = shift;
        return $self->{values}->{perl_version} unless @_;
@@ -341,7 +347,7 @@
                ^ \s*
                package \s*
                ([\w:]+)
-               \s* ;
+               [\s|;]*
                /ixms
        ) {
                my ($name, $module_name) = ($1, $1);
@@ -699,7 +705,7 @@
        my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
        my $meta = $yaml[0];
 
-       # Overwrite the non-configure dependency hashs
+       # Overwrite the non-configure dependency hashes
        delete $meta->{requires};
        delete $meta->{build_requires};
        delete $meta->{recommends};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/inc/Module/Install.pm 
new/Test-LeakTrace-0.15/inc/Module/Install.pm
--- old/Test-LeakTrace-0.14/inc/Module/Install.pm       2011-10-07 
11:24:29.000000000 +0200
+++ new/Test-LeakTrace-0.15/inc/Module/Install.pm       2014-11-13 
23:51:51.000000000 +0100
@@ -17,7 +17,7 @@
 #     3. The ./inc/ version of Module::Install loads
 # }
 
-use 5.005;
+use 5.006;
 use strict 'vars';
 use Cwd        ();
 use File::Find ();
@@ -31,7 +31,7 @@
        # This is not enforced yet, but will be some time in the next few
        # releases once we can make sure it won't clash with custom
        # Module::Install extensions.
-       $VERSION = '1.02';
+       $VERSION = '1.14';
 
        # Storage for the pseudo-singleton
        $MAIN    = undef;
@@ -156,10 +156,10 @@
 sub autoload {
        my $self = shift;
        my $who  = $self->_caller;
-       my $cwd  = Cwd::cwd();
+       my $cwd  = Cwd::getcwd();
        my $sym  = "${who}::AUTOLOAD";
        $sym->{$cwd} = sub {
-               my $pwd = Cwd::cwd();
+               my $pwd = Cwd::getcwd();
                if ( my $code = $sym->{$pwd} ) {
                        # Delegate back to parent dirs
                        goto &$code unless $cwd eq $pwd;
@@ -239,7 +239,7 @@
 
        # ignore the prefix on extension modules built from top level.
        my $base_path = Cwd::abs_path($FindBin::Bin);
-       unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) {
+       unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) {
                delete $args{prefix};
        }
        return $args{_self} if $args{_self};
@@ -338,7 +338,7 @@
                if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
                        my $content = Module::Install::_read($subpath . '.pm');
                        my $in_pod  = 0;
-                       foreach ( split //, $content ) {
+                       foreach ( split /\n/, $content ) {
                                $in_pod = 1 if /^=\w/;
                                $in_pod = 0 if /^=cut/;
                                next if ($in_pod || /^=cut/);  # skip pod text
@@ -378,6 +378,7 @@
 sub _read {
        local *FH;
        open( FH, '<', $_[0] ) or die "open($_[0]): $!";
+       binmode FH;
        my $string = do { local $/; <FH> };
        close FH or die "close($_[0]): $!";
        return $string;
@@ -386,6 +387,7 @@
 sub _read {
        local *FH;
        open( FH, "< $_[0]"  ) or die "open($_[0]): $!";
+       binmode FH;
        my $string = do { local $/; <FH> };
        close FH or die "close($_[0]): $!";
        return $string;
@@ -416,6 +418,7 @@
 sub _write {
        local *FH;
        open( FH, '>', $_[0] ) or die "open($_[0]): $!";
+       binmode FH;
        foreach ( 1 .. $#_ ) {
                print FH $_[$_] or die "print($_[0]): $!";
        }
@@ -425,6 +428,7 @@
 sub _write {
        local *FH;
        open( FH, "> $_[0]"  ) or die "open($_[0]): $!";
+       binmode FH;
        foreach ( 1 .. $#_ ) {
                print FH $_[$_] or die "print($_[0]): $!";
        }
@@ -434,7 +438,7 @@
 
 # _version is for processing module versions (eg, 1.03_05) not
 # Perl versions (eg, 5.8.1).
-sub _version ($) {
+sub _version {
        my $s = shift || 0;
        my $d =()= $s =~ /(\.)/g;
        if ( $d >= 2 ) {
@@ -450,12 +454,12 @@
        return $l + 0;
 }
 
-sub _cmp ($$) {
-       _version($_[0]) <=> _version($_[1]);
+sub _cmp {
+       _version($_[1]) <=> _version($_[2]);
 }
 
 # Cloned from Params::Util::_CLASS
-sub _CLASS ($) {
+sub _CLASS {
        (
                defined $_[0]
                and
@@ -467,4 +471,4 @@
 
 1;
 
-# Copyright 2008 - 2011 Adam Kennedy.
+# Copyright 2008 - 2012 Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/lib/Test/LeakTrace/JA.pod 
new/Test-LeakTrace-0.15/lib/Test/LeakTrace/JA.pod
--- old/Test-LeakTrace-0.14/lib/Test/LeakTrace/JA.pod   2011-10-07 
11:24:20.000000000 +0200
+++ new/Test-LeakTrace-0.15/lib/Test/LeakTrace/JA.pod   2014-11-13 
23:51:40.000000000 +0100
@@ -7,7 +7,7 @@
 
 =head1 VERSION
 
-This document describes Test::LeakTrace version 0.14.
+This document describes Test::LeakTrace version 0.15.
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/lib/Test/LeakTrace.pm 
new/Test-LeakTrace-0.15/lib/Test/LeakTrace.pm
--- old/Test-LeakTrace-0.14/lib/Test/LeakTrace.pm       2011-10-07 
11:24:20.000000000 +0200
+++ new/Test-LeakTrace-0.15/lib/Test/LeakTrace.pm       2014-11-13 
23:51:40.000000000 +0100
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.14';
+our $VERSION = '0.15';
 
 use XSLoader;
 XSLoader::load(__PACKAGE__, $VERSION);
@@ -130,7 +130,7 @@
 
 =head1 VERSION
 
-This document describes Test::LeakTrace version 0.14.
+This document describes Test::LeakTrace version 0.15.
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/t/01_info.t 
new/Test-LeakTrace-0.15/t/01_info.t
--- old/Test-LeakTrace-0.14/t/01_info.t 2011-10-07 11:14:33.000000000 +0200
+++ new/Test-LeakTrace-0.15/t/01_info.t 2014-11-13 23:40:34.000000000 +0100
@@ -25,7 +25,7 @@
        } @info;
 
 
-like __FILE__, qr/$si->[1]/, 'state info'
+like __FILE__, qr/\Q$si->[1]\E/, 'state info'
        or diag(Dumper \@info);
 
 @info = leaked_info{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/t/11_logfp.t 
new/Test-LeakTrace-0.15/t/11_logfp.t
--- old/Test-LeakTrace-0.14/t/11_logfp.t        2011-10-07 11:14:33.000000000 
+0200
+++ new/Test-LeakTrace-0.15/t/11_logfp.t        2014-11-13 23:40:34.000000000 
+0100
@@ -21,22 +21,22 @@
 
 my $file = __FILE__;
 t(-simple);
-like $content,   qr/from $file line 15\./, -simple;
+like $content,   qr/from \Q$file\E line 15\./, -simple;
 unlike $content, qr/15:\t\tpush \@array/, -lines;
 unlike $content, qr/REFCNT/, -sv_dump;
 
 t(-lines);
-like $content, qr/from $file line 15\./, -simple;
+like $content, qr/from \Q$file\E line 15\./, -simple;
 like $content, qr/15:\t\tpush \@array/, -lines;
 unlike $content, qr/REFCNT/, -sv_dump;
 
 t(-sv_dump);
-like $content, qr/from $file line 15\./, -simple;
+like $content, qr/from \Q$file\E line 15\./, -simple;
 unlike $content, qr/15:\t\tpush \@array/, -lines;
 like $content, qr/REFCNT/, -sv_dump;
 
 t(-verbose);
-like $content, qr/from $file line 15\./, -simple;
+like $content, qr/from \Q$file\E line 15\./, -simple;
 like $content, qr/15:\t\tpush \@array/, -lines;
 like $content, qr/REFCNT/, -sv_dump;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.14/xt/01_podspell.t 
new/Test-LeakTrace-0.15/xt/01_podspell.t
--- old/Test-LeakTrace-0.14/xt/01_podspell.t    2011-10-07 11:14:33.000000000 
+0200
+++ new/Test-LeakTrace-0.15/xt/01_podspell.t    2014-11-13 23:49:11.000000000 
+0100
@@ -3,9 +3,9 @@
 use strict;
 use Test::More;
 
-eval q{ use Test::Spelling };
+eval q{ use Test::Spellunker};
 
-plan skip_all => q{Test::Spelling is not installed.}
+plan skip_all => q{Test::Spellunker is not installed.}
        if $@;
 
 add_stopwords(map { split /[\s\:\-]/ } <DATA>);


Reply via email to