Hello community,

here is the log from the commit of package perl-Path-Tiny for openSUSE:Factory 
checked in at 2018-08-27 12:55:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Path-Tiny (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Path-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Path-Tiny"

Mon Aug 27 12:55:59 2018 rev:20 rq:631315 version:0.108

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Path-Tiny/perl-Path-Tiny.changes    
2018-07-18 22:37:24.150249933 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Path-Tiny.new/perl-Path-Tiny.changes       
2018-08-27 12:56:06.372603427 +0200
@@ -1,0 +2,17 @@
+Tue Jul 31 05:49:23 UTC 2018 - co...@suse.com
+
+- updated to 0.108
+   see /usr/share/doc/packages/perl-Path-Tiny/Changes
+
+  0.108     2018-07-30 15:35:23-04:00 America/New_York
+  
+      - No changes from 0.107-TRIAL.
+  
+  0.107     2018-07-24 15:10:36-04:00 America/New_York (TRIAL RELEASE)
+  
+      [Fixes]
+  
+      - Fixed a bug where failure to load optional modules would trigger
+        an external $SIG{__DIE__} handler.
+
+-------------------------------------------------------------------

Old:
----
  Path-Tiny-0.106.tar.gz

New:
----
  Path-Tiny-0.108.tar.gz

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

Other differences:
------------------
++++++ perl-Path-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.SZUVMv/_old  2018-08-27 12:56:08.104605324 +0200
+++ /var/tmp/diff_new_pack.SZUVMv/_new  2018-08-27 12:56:08.108605328 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Path-Tiny
-Version:        0.106
+Version:        0.108
 Release:        0
 %define cpan_name Path-Tiny
 Summary:        File path utility

++++++ Path-Tiny-0.106.tar.gz -> Path-Tiny-0.108.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/Changes new/Path-Tiny-0.108/Changes
--- old/Path-Tiny-0.106/Changes 2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/Changes 2018-07-30 21:35:54.000000000 +0200
@@ -1,5 +1,16 @@
 Revision history for Path-Tiny
 
+0.108     2018-07-30 15:35:23-04:00 America/New_York
+
+    - No changes from 0.107-TRIAL.
+
+0.107     2018-07-24 15:10:36-04:00 America/New_York (TRIAL RELEASE)
+
+    [Fixes]
+
+    - Fixed a bug where failure to load optional modules would trigger
+      an external $SIG{__DIE__} handler.
+
 0.106     2018-07-14 09:37:00-04:00 America/New_York
 
     [Tests]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/MANIFEST new/Path-Tiny-0.108/MANIFEST
--- old/Path-Tiny-0.106/MANIFEST        2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/MANIFEST        2018-07-30 21:35:54.000000000 +0200
@@ -22,6 +22,8 @@
 t/digest.t
 t/exception.t
 t/exports.t
+t/fakelib/PerlIO/utf8_strict.pm
+t/fakelib/Unicode/UTF8.pm
 t/filesystem.t
 t/input_output.t
 t/input_output_no_PU_UU.t
@@ -35,6 +37,7 @@
 t/parent.t
 t/recurse.t
 t/rel-abs.t
+t/sig_die.t
 t/subsumes.t
 t/symlinks.t
 t/temp.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/META.json 
new/Path-Tiny-0.108/META.json
--- old/Path-Tiny-0.106/META.json       2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/META.json       2018-07-30 21:35:54.000000000 +0200
@@ -71,6 +71,7 @@
             "Cwd" : "0",
             "Digest" : "1.03",
             "Digest::SHA" : "5.45",
+            "Encode" : "0",
             "Exporter" : "5.57",
             "Fcntl" : "0",
             "File::Copy" : "0",
@@ -111,11 +112,11 @@
    "provides" : {
       "Path::Tiny" : {
          "file" : "lib/Path/Tiny.pm",
-         "version" : "0.106"
+         "version" : "0.108"
       },
       "Path::Tiny::Error" : {
          "file" : "lib/Path/Tiny.pm",
-         "version" : "0.106"
+         "version" : "0.108"
       }
    },
    "release_status" : "stable",
@@ -130,7 +131,7 @@
          "web" : "https://github.com/dagolden/Path-Tiny";
       }
    },
-   "version" : "0.106",
+   "version" : "0.108",
    "x_authority" : "cpan:DAGOLDEN",
    "x_contributors" : [
       "Alex Efros <power...@powerman.name>",
@@ -151,6 +152,7 @@
       "John Karr <brain...@brainbuz.org>",
       "Karen Etheridge <et...@cpan.org>",
       "Mark Ellis <mark.el...@cartridgesave.co.uk>",
+      "Martin H. Sluka <f...@cpan.org>",
       "Martin Kjeldsen <m...@bluepipe.dk>",
       "Michael G. Schwern <mschw...@cpan.org>",
       "Nigel Gregoire <nigelgrego...@gmail.com>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/META.yml new/Path-Tiny-0.108/META.yml
--- old/Path-Tiny-0.106/META.yml        2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/META.yml        2018-07-30 21:35:54.000000000 +0200
@@ -36,10 +36,10 @@
 provides:
   Path::Tiny:
     file: lib/Path/Tiny.pm
-    version: '0.106'
+    version: '0.108'
   Path::Tiny::Error:
     file: lib/Path/Tiny.pm
-    version: '0.106'
+    version: '0.108'
 recommends:
   Unicode::UTF8: '0.58'
 requires:
@@ -47,6 +47,7 @@
   Cwd: '0'
   Digest: '1.03'
   Digest::SHA: '5.45'
+  Encode: '0'
   Exporter: '5.57'
   Fcntl: '0'
   File::Copy: '0'
@@ -65,7 +66,7 @@
   bugtracker: https://github.com/dagolden/Path-Tiny/issues
   homepage: https://github.com/dagolden/Path-Tiny
   repository: https://github.com/dagolden/Path-Tiny.git
-version: '0.106'
+version: '0.108'
 x_authority: cpan:DAGOLDEN
 x_contributors:
   - 'Alex Efros <power...@powerman.name>'
@@ -86,6 +87,7 @@
   - 'John Karr <brain...@brainbuz.org>'
   - 'Karen Etheridge <et...@cpan.org>'
   - 'Mark Ellis <mark.el...@cartridgesave.co.uk>'
+  - 'Martin H. Sluka <f...@cpan.org>'
   - 'Martin Kjeldsen <m...@bluepipe.dk>'
   - 'Michael G. Schwern <mschw...@cpan.org>'
   - 'Nigel Gregoire <nigelgrego...@gmail.com>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/Makefile.PL 
new/Path-Tiny-0.108/Makefile.PL
--- old/Path-Tiny-0.106/Makefile.PL     2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/Makefile.PL     2018-07-30 21:35:54.000000000 +0200
@@ -21,6 +21,7 @@
     "Cwd" => 0,
     "Digest" => "1.03",
     "Digest::SHA" => "5.45",
+    "Encode" => 0,
     "Exporter" => "5.57",
     "Fcntl" => 0,
     "File::Copy" => 0,
@@ -47,7 +48,7 @@
     "lib" => 0,
     "open" => 0
   },
-  "VERSION" => "0.106",
+  "VERSION" => "0.108",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -60,6 +61,7 @@
   "Digest" => "1.03",
   "Digest::MD5" => 0,
   "Digest::SHA" => "5.45",
+  "Encode" => 0,
   "Exporter" => "5.57",
   "ExtUtils::MakeMaker" => 0,
   "Fcntl" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/README new/Path-Tiny-0.108/README
--- old/Path-Tiny-0.106/README  2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/README  2018-07-30 21:35:54.000000000 +0200
@@ -2,7 +2,7 @@
     Path::Tiny - File path utility
 
 VERSION
-    version 0.106
+    version 0.108
 
 SYNOPSIS
       use Path::Tiny;
@@ -1090,6 +1090,8 @@
 
     *   Mark Ellis <mark.el...@cartridgesave.co.uk>
 
+    *   Martin H. Sluka <f...@cpan.org>
+
     *   Martin Kjeldsen <m...@bluepipe.dk>
 
     *   Michael G. Schwern <mschw...@cpan.org>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/cpanfile new/Path-Tiny-0.108/cpanfile
--- old/Path-Tiny-0.106/cpanfile        2018-07-14 15:37:34.000000000 +0200
+++ new/Path-Tiny-0.108/cpanfile        2018-07-30 21:35:54.000000000 +0200
@@ -2,6 +2,7 @@
 requires "Cwd" => "0";
 requires "Digest" => "1.03";
 requires "Digest::SHA" => "5.45";
+requires "Encode" => "0";
 requires "Exporter" => "5.57";
 requires "Fcntl" => "0";
 requires "File::Copy" => "0";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/lib/Path/Tiny.pm 
new/Path-Tiny-0.108/lib/Path/Tiny.pm
--- old/Path-Tiny-0.106/lib/Path/Tiny.pm        2018-07-14 15:37:34.000000000 
+0200
+++ new/Path-Tiny-0.108/lib/Path/Tiny.pm        2018-07-30 21:35:54.000000000 
+0200
@@ -5,7 +5,7 @@
 package Path::Tiny;
 # ABSTRACT: File path utility
 
-our $VERSION = '0.106';
+our $VERSION = '0.108';
 
 # Dependencies
 use Config;
@@ -40,13 +40,26 @@
 my $HAS_UU; # has Unicode::UTF8; lazily populated
 
 sub _check_UU {
-    !!eval { require Unicode::UTF8; Unicode::UTF8->VERSION(0.58); 1 };
+    local $SIG{__DIE__}; # prevent outer handler from being called
+    !!eval {
+        require Unicode::UTF8;
+        Unicode::UTF8->VERSION(0.58);
+        1;
+    };
 }
 
-my $HAS_PU; # has PerlIO::utf8_strict; lazily populated
+my $HAS_PU;              # has PerlIO::utf8_strict; lazily populated
 
 sub _check_PU {
-    !!eval { require PerlIO::utf8_strict; PerlIO::utf8_strict->VERSION(0.003); 
1 };
+    local $SIG{__DIE__}; # prevent outer handler from being called
+    !!eval {
+        # MUST preload Encode or $SIG{__DIE__} localization fails
+        # on some Perl 5.8.8 (maybe other 5.8.*) compiled with -O2.
+        require Encode;
+        require PerlIO::utf8_strict;
+        PerlIO::utf8_strict->VERSION(0.003);
+        1;
+    };
 }
 
 my $HAS_FLOCK = $Config{d_flock} || $Config{d_fcntl_can_lock} || 
$Config{d_lockf};
@@ -2143,7 +2156,7 @@
 
 =head1 VERSION
 
-version 0.106
+version 0.108
 
 =head1 SYNOPSIS
 
@@ -3297,7 +3310,7 @@
 
 =head1 CONTRIBUTORS
 
-=for stopwords Alex Efros Aristotle Pagaltzis Chris Williams Dave Rolsky David 
Steinbrunner Doug Bell Gabor Szabo Gabriel Andrade George Hartzell Geraud 
Continsouzas Goro Fuji Graham Knop Ollis Ian Sillitoe James Hunt John Karr 
Karen Etheridge Mark Ellis Martin Kjeldsen Michael G. Schwern Nigel Gregoire 
Philippe Bruhat (BooK) Regina Verbae Roy Ivy III Shlomi Fish Smylers Tatsuhiko 
Miyagawa Toby Inkster Yanick Champoux 김도형 - Keedi Kim
+=for stopwords Alex Efros Aristotle Pagaltzis Chris Williams Dave Rolsky David 
Steinbrunner Doug Bell Gabor Szabo Gabriel Andrade George Hartzell Geraud 
Continsouzas Goro Fuji Graham Knop Ollis Ian Sillitoe James Hunt John Karr 
Karen Etheridge Mark Ellis Martin H. Sluka Kjeldsen Michael G. Schwern Nigel 
Gregoire Philippe Bruhat (BooK) Regina Verbae Roy Ivy III Shlomi Fish Smylers 
Tatsuhiko Miyagawa Toby Inkster Yanick Champoux 김도형 - Keedi Kim
 
 =over 4
 
@@ -3375,6 +3388,10 @@
 
 =item *
 
+Martin H. Sluka <f...@cpan.org>
+
+=item *
+
 Martin Kjeldsen <m...@bluepipe.dk>
 
 =item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/t/00-report-prereqs.dd 
new/Path-Tiny-0.108/t/00-report-prereqs.dd
--- old/Path-Tiny-0.106/t/00-report-prereqs.dd  2018-07-14 15:37:34.000000000 
+0200
+++ new/Path-Tiny-0.108/t/00-report-prereqs.dd  2018-07-30 21:35:54.000000000 
+0200
@@ -44,6 +44,7 @@
                                       'Cwd' => '0',
                                       'Digest' => '1.03',
                                       'Digest::SHA' => '5.45',
+                                      'Encode' => '0',
                                       'Exporter' => '5.57',
                                       'Fcntl' => '0',
                                       'File::Copy' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/t/fakelib/PerlIO/utf8_strict.pm 
new/Path-Tiny-0.108/t/fakelib/PerlIO/utf8_strict.pm
--- old/Path-Tiny-0.106/t/fakelib/PerlIO/utf8_strict.pm 1970-01-01 
01:00:00.000000000 +0100
+++ new/Path-Tiny-0.108/t/fakelib/PerlIO/utf8_strict.pm 2018-07-30 
21:35:54.000000000 +0200
@@ -0,0 +1,3 @@
+package PerlIO::utf8_strict;
+
+0;    # make require fail
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/t/fakelib/Unicode/UTF8.pm 
new/Path-Tiny-0.108/t/fakelib/Unicode/UTF8.pm
--- old/Path-Tiny-0.106/t/fakelib/Unicode/UTF8.pm       1970-01-01 
01:00:00.000000000 +0100
+++ new/Path-Tiny-0.108/t/fakelib/Unicode/UTF8.pm       2018-07-30 
21:35:54.000000000 +0200
@@ -0,0 +1,3 @@
+package Unicode::UTF8;
+
+0;    # make require fail
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/t/sig_die.t 
new/Path-Tiny-0.108/t/sig_die.t
--- old/Path-Tiny-0.106/t/sig_die.t     1970-01-01 01:00:00.000000000 +0100
+++ new/Path-Tiny-0.108/t/sig_die.t     2018-07-30 21:35:54.000000000 +0200
@@ -0,0 +1,32 @@
+use 5.008001;
+use strict;
+use warnings;
+use Test::More 0.96;
+use File::Temp qw(tmpnam);
+
+use Path::Tiny;
+
+use lib 't/fakelib';
+
+my $file = path( scalar tmpnam() );
+ok $file, 'Got a filename via tmpnam()';
+
+{
+    my $fh = $file->openw;
+    ok $fh, "Opened $file for writing";
+
+    ok print( $fh "Foo\n" ), "Printed to $file";
+}
+
+my $called_handler;
+
+{
+    local $SIG{__DIE__} = sub { ++$called_handler };
+    $file->slurp_utf8;
+}
+
+ok !$called_handler, 'outer $SIG{__DIE__} handler should not be called';
+
+unlink $file;
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Path-Tiny-0.106/xt/author/pod-spell.t 
new/Path-Tiny-0.108/xt/author/pod-spell.t
--- old/Path-Tiny-0.106/xt/author/pod-spell.t   2018-07-14 15:37:34.000000000 
+0200
+++ new/Path-Tiny-0.108/xt/author/pod-spell.t   2018-07-30 21:35:54.000000000 
+0200
@@ -69,6 +69,7 @@
 Schwern
 Shlomi
 Sillitoe
+Sluka
 Smylers
 Steinbrunner
 Szabo
@@ -90,6 +91,7 @@
 dirname
 dsteinbrunner
 ether
+fany
 fatalize
 gabiruh
 geraud


Reply via email to