Hello community,

here is the log from the commit of package perl-Test-LeakTrace for 
openSUSE:Factory checked in at 2017-06-22 10:35:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-LeakTrace (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-LeakTrace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-LeakTrace"

Thu Jun 22 10:35:00 2017 rev:18 rq:504928 version:0.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-LeakTrace/perl-Test-LeakTrace.changes  
2015-04-15 16:27:07.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-LeakTrace.new/perl-Test-LeakTrace.changes 
    2017-06-22 10:35:02.638867892 +0200
@@ -1,0 +2,10 @@
+Sun Jun 18 06:23:28 UTC 2017 - [email protected]
+
+- updated to 0.16
+   see /usr/share/doc/packages/perl-Test-LeakTrace/Changes
+
+  0.16 2017-06-17
+      - Fix build and test issues with perl5.26 due to removal of . from @INC
+        (PR #4 - thanks to jkeenan)
+
+-------------------------------------------------------------------

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

New:
----
  Test-LeakTrace-0.16.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Test-LeakTrace.spec ++++++
--- /var/tmp/diff_new_pack.CQx4rg/_old  2017-06-22 10:35:03.142796857 +0200
+++ /var/tmp/diff_new_pack.CQx4rg/_new  2017-06-22 10:35:03.146796293 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-LeakTrace
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,14 +17,15 @@
 
 
 Name:           perl-Test-LeakTrace
-Version:        0.15
+Version:        0.16
 Release:        0
 %define cpan_name Test-LeakTrace
 Summary:        Traces memory leaks
 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
+Source0:        
https://cpan.metacpan.org/authors/id/L/LE/LEEJO/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -43,7 +44,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} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++++++ Test-LeakTrace-0.15.tar.gz -> Test-LeakTrace-0.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/Changes 
new/Test-LeakTrace-0.16/Changes
--- old/Test-LeakTrace-0.15/Changes     2014-11-13 23:51:36.000000000 +0100
+++ new/Test-LeakTrace-0.16/Changes     2017-06-18 00:54:16.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl extension Test::LeakTrace
 
+0.16 2017-06-17
+    - Fix build and test issues with perl5.26 due to removal of . from @INC
+      (PR #4 - thanks to jkeenan)
+
 0.15 2014-11-14 07:51:22+0900
     - Fix test failure on Windows (#1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/META.yml 
new/Test-LeakTrace-0.16/META.yml
--- old/Test-LeakTrace-0.15/META.yml    2014-11-13 23:51:52.000000000 +0100
+++ new/Test-LeakTrace-0.16/META.yml    2017-06-18 02:15:04.000000000 +0200
@@ -8,7 +8,7 @@
   ExtUtils::MakeMaker: 6.59
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.14'
+generated_by: 'Module::Install version 1.18'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,4 +27,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/gfx/p5-Test-LeakTrace.git
-version: 0.15
+version: '0.16'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/Makefile.PL 
new/Test-LeakTrace-0.16/Makefile.PL
--- old/Test-LeakTrace-0.15/Makefile.PL 2014-11-13 23:40:34.000000000 +0100
+++ new/Test-LeakTrace-0.16/Makefile.PL 2017-06-18 00:54:46.000000000 +0200
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '.';
 use inc::Module::Install;
 
 name 'Test-LeakTrace';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/inc/Module/Install/Base.pm 
new/Test-LeakTrace-0.16/inc/Module/Install/Base.pm
--- old/Test-LeakTrace-0.15/inc/Module/Install/Base.pm  2014-11-13 
23:51:52.000000000 +0100
+++ new/Test-LeakTrace-0.16/inc/Module/Install/Base.pm  2017-06-18 
02:15:04.000000000 +0200
@@ -4,7 +4,7 @@
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-       $VERSION = '1.14';
+       $VERSION = '1.18';
 }
 
 # Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/inc/Module/Install/MakeMaker.pm 
new/Test-LeakTrace-0.16/inc/Module/Install/MakeMaker.pm
--- old/Test-LeakTrace-0.15/inc/Module/Install/MakeMaker.pm     2014-11-13 
23:51:52.000000000 +0100
+++ new/Test-LeakTrace-0.16/inc/Module/Install/MakeMaker.pm     2017-06-18 
02:15:04.000000000 +0200
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.14';
+       $VERSION = '1.18';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/inc/Module/Install/Makefile.pm 
new/Test-LeakTrace-0.16/inc/Module/Install/Makefile.pm
--- old/Test-LeakTrace-0.15/inc/Module/Install/Makefile.pm      2014-11-13 
23:51:52.000000000 +0100
+++ new/Test-LeakTrace-0.16/inc/Module/Install/Makefile.pm      2017-06-18 
02:15:04.000000000 +0200
@@ -8,7 +8,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.14';
+       $VERSION = '1.18';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/inc/Module/Install/Metadata.pm 
new/Test-LeakTrace-0.16/inc/Module/Install/Metadata.pm
--- old/Test-LeakTrace-0.15/inc/Module/Install/Metadata.pm      2014-11-13 
23:51:52.000000000 +0100
+++ new/Test-LeakTrace-0.16/inc/Module/Install/Metadata.pm      2017-06-18 
02:15:04.000000000 +0200
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.14';
+       $VERSION = '1.18';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/inc/Module/Install.pm 
new/Test-LeakTrace-0.16/inc/Module/Install.pm
--- old/Test-LeakTrace-0.15/inc/Module/Install.pm       2014-11-13 
23:51:51.000000000 +0100
+++ new/Test-LeakTrace-0.16/inc/Module/Install.pm       2017-06-18 
02:15:03.000000000 +0200
@@ -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.14';
+       $VERSION = '1.18';
 
        # Storage for the pseudo-singleton
        $MAIN    = undef;
@@ -244,6 +244,8 @@
        }
        return $args{_self} if $args{_self};
 
+       $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS';
+
        $args{dispatch} ||= 'Admin';
        $args{prefix}   ||= 'inc';
        $args{author}   ||= ($^O eq 'VMS' ? '_author' : '.author');
@@ -322,7 +324,7 @@
        my ($self, $path) = @_;
 
        my @found;
-       File::Find::find( sub {
+       File::Find::find( {no_chdir => 1, wanted => sub {
                my $file = $File::Find::name;
                return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is;
                my $subpath = $1;
@@ -336,7 +338,7 @@
                # correctly.  Otherwise, root through the file to locate the 
case-preserved
                # version of the package name.
                if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
-                       my $content = Module::Install::_read($subpath . '.pm');
+                       my $content = Module::Install::_read($File::Find::name);
                        my $in_pod  = 0;
                        foreach ( split /\n/, $content ) {
                                $in_pod = 1 if /^=\w/;
@@ -351,7 +353,7 @@
                }
 
                push @found, [ $file, $pkg ];
-       }, $path ) if -d $path;
+       }}, $path ) if -d $path;
 
        @found;
 }
@@ -373,8 +375,6 @@
        return $call;
 }
 
-# Done in evals to avoid confusing Perl::MinimumVersion
-eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@;
 sub _read {
        local *FH;
        open( FH, '<', $_[0] ) or die "open($_[0]): $!";
@@ -383,16 +383,6 @@
        close FH or die "close($_[0]): $!";
        return $string;
 }
-END_NEW
-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;
-}
-END_OLD
 
 sub _readperl {
        my $string = Module::Install::_read($_[0]);
@@ -413,8 +403,6 @@
        return $string;
 }
 
-# Done in evals to avoid confusing Perl::MinimumVersion
-eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@;
 sub _write {
        local *FH;
        open( FH, '>', $_[0] ) or die "open($_[0]): $!";
@@ -424,17 +412,6 @@
        }
        close FH or die "close($_[0]): $!";
 }
-END_NEW
-sub _write {
-       local *FH;
-       open( FH, "> $_[0]"  ) or die "open($_[0]): $!";
-       binmode FH;
-       foreach ( 1 .. $#_ ) {
-               print FH $_[$_] or die "print($_[0]): $!";
-       }
-       close FH or die "close($_[0]): $!";
-}
-END_OLD
 
 # _version is for processing module versions (eg, 1.03_05) not
 # Perl versions (eg, 5.8.1).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/lib/Test/LeakTrace/JA.pod 
new/Test-LeakTrace-0.16/lib/Test/LeakTrace/JA.pod
--- old/Test-LeakTrace-0.15/lib/Test/LeakTrace/JA.pod   2014-11-13 
23:51:40.000000000 +0100
+++ new/Test-LeakTrace-0.16/lib/Test/LeakTrace/JA.pod   2017-06-18 
02:06:47.000000000 +0200
@@ -7,7 +7,7 @@
 
 =head1 VERSION
 
-This document describes Test::LeakTrace version 0.15.
+This document describes Test::LeakTrace version 0.16.
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/lib/Test/LeakTrace.pm 
new/Test-LeakTrace-0.16/lib/Test/LeakTrace.pm
--- old/Test-LeakTrace-0.15/lib/Test/LeakTrace.pm       2014-11-13 
23:51:40.000000000 +0100
+++ new/Test-LeakTrace-0.16/lib/Test/LeakTrace.pm       2017-06-18 
00:53:13.000000000 +0200
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.15';
+our $VERSION = '0.16';
 
 use XSLoader;
 XSLoader::load(__PACKAGE__, $VERSION);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-LeakTrace-0.15/t/13_do.t 
new/Test-LeakTrace-0.16/t/13_do.t
--- old/Test-LeakTrace-0.15/t/13_do.t   2014-11-13 23:40:34.000000000 +0100
+++ new/Test-LeakTrace-0.16/t/13_do.t   2017-06-18 00:52:39.000000000 +0200
@@ -6,7 +6,7 @@
 use Test::LeakTrace;
 
 sub foo{
-       do 't/lib/foo.pl';
+       do './t/lib/foo.pl';
 }
 
 

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to