Hello community,

here is the log from the commit of package perl-Test-Trap for openSUSE:Factory 
checked in at 2018-11-13 16:28:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Trap (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Trap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Trap"

Tue Nov 13 16:28:46 2018 rev:9 rq:647335 version:0.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Trap/perl-Test-Trap.changes    
2017-09-04 12:37:07.788697070 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Trap.new/perl-Test-Trap.changes       
2018-11-13 16:28:52.746359146 +0100
@@ -1,0 +2,15 @@
+Thu Nov  8 07:01:39 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to 0.3.4
+   see /usr/share/doc/packages/perl-Test-Trap/Changes
+
+  0.3.4        Sun Oct 14 20:39:41 CEST 2018
+       For this release, many thanks go to Todd Rinaldo, who found
+          that my fix for the $^E clobbering wound up clobbering $! in
+          every basic test.
+          - Declared some required and optional dependencies.
+          - RT #127112 is addressed, using the patch from [email protected]
+            augmented wtih a comment.
+          - A regression test has been added for this.
+
+-------------------------------------------------------------------

Old:
----
  Test-Trap-v0.3.3.tar.gz

New:
----
  Test-Trap-v0.3.4.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Trap.spec ++++++
--- /var/tmp/diff_new_pack.GTI3nV/_old  2018-11-13 16:28:54.414356517 +0100
+++ /var/tmp/diff_new_pack.GTI3nV/_new  2018-11-13 16:28:54.418356511 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-Trap
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,18 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           perl-Test-Trap
-Version:        0.3.3
+Version:        0.3.4
 Release:        0
 %define cpan_name Test-Trap
 Summary:        Trap exit codes, exceptions, output, etc
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Test-Trap/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/E/EB/EBHANSSEN/%{cpan_name}-v%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
@@ -52,7 +52,7 @@
 %setup -q -n %{cpan_name}-v%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build build flags=%{?_smp_mflags}
 
 %check

++++++ Test-Trap-v0.3.3.tar.gz -> Test-Trap-v0.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/Build.PL 
new/Test-Trap-v0.3.4/Build.PL
--- old/Test-Trap-v0.3.3/Build.PL       2017-08-23 21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/Build.PL       2018-10-14 20:41:10.000000000 +0200
@@ -17,6 +17,7 @@
     { 'base'              => 0, # core ...
       'constant'          => 0, # core ...
       'Carp'              => 0,
+      'Config'            => 0,
       'Data::Dump'        => 0,
       'Exporter'          => 0,
       'File::Temp'        => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/Changes new/Test-Trap-v0.3.4/Changes
--- old/Test-Trap-v0.3.3/Changes        2017-08-23 21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/Changes        2018-10-14 20:41:10.000000000 +0200
@@ -1,5 +1,14 @@
 Revision history for Test-Trap
 
+0.3.4  Sun Oct 14 20:39:41 CEST 2018
+       For this release, many thanks go to Todd Rinaldo, who found
+        that my fix for the $^E clobbering wound up clobbering $! in
+        every basic test.
+        - Declared some required and optional dependencies.
+        - RT #127112 is addressed, using the patch from [email protected]
+          augmented wtih a comment.
+        - A regression test has been added for this. 
+
 0.3.3   Tue Aug 22 02:06:09 CEST 2017
        For this release, many thanks go to Slaven Rezic, who found
         that Test::More::is() (or Test2::Formatter::TAP::write())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/META.json 
new/Test-Trap-v0.3.4/META.json
--- old/Test-Trap-v0.3.3/META.json      2017-08-23 21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/META.json      2018-10-14 20:41:10.000000000 +0200
@@ -22,6 +22,7 @@
       "runtime" : {
          "requires" : {
             "Carp" : "0",
+            "Config" : "0",
             "Data::Dump" : "0",
             "Exporter" : "0",
             "File::Temp" : "0",
@@ -42,23 +43,23 @@
    "provides" : {
       "Test::Trap" : {
          "file" : "lib/Test/Trap.pm",
-         "version" : "v0.3.3"
+         "version" : "v0.3.4"
       },
       "Test::Trap::Builder" : {
          "file" : "lib/Test/Trap/Builder.pm",
-         "version" : "v0.3.3"
+         "version" : "v0.3.4"
       },
       "Test::Trap::Builder::PerlIO" : {
          "file" : "lib/Test/Trap/Builder/PerlIO.pm",
-         "version" : "v0.3.3"
+         "version" : "v0.3.4"
       },
       "Test::Trap::Builder::SystemSafe" : {
          "file" : "lib/Test/Trap/Builder/SystemSafe.pm",
-         "version" : "v0.3.3"
+         "version" : "v0.3.4"
       },
       "Test::Trap::Builder::TempFile" : {
          "file" : "lib/Test/Trap/Builder/TempFile.pm",
-         "version" : "v0.3.3"
+         "version" : "v0.3.4"
       }
    },
    "release_status" : "stable",
@@ -67,6 +68,6 @@
          "http://dev.perl.org/licenses/";
       ]
    },
-   "version" : "v0.3.3",
+   "version" : "v0.3.4",
    "x_serialization_backend" : "JSON::PP version 2.27400_02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/META.yml 
new/Test-Trap-v0.3.4/META.yml
--- old/Test-Trap-v0.3.3/META.yml       2017-08-23 21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/META.yml       2018-10-14 20:41:10.000000000 +0200
@@ -15,21 +15,22 @@
 provides:
   Test::Trap:
     file: lib/Test/Trap.pm
-    version: v0.3.3
+    version: v0.3.4
   Test::Trap::Builder:
     file: lib/Test/Trap/Builder.pm
-    version: v0.3.3
+    version: v0.3.4
   Test::Trap::Builder::PerlIO:
     file: lib/Test/Trap/Builder/PerlIO.pm
-    version: v0.3.3
+    version: v0.3.4
   Test::Trap::Builder::SystemSafe:
     file: lib/Test/Trap/Builder/SystemSafe.pm
-    version: v0.3.3
+    version: v0.3.4
   Test::Trap::Builder::TempFile:
     file: lib/Test/Trap/Builder/TempFile.pm
-    version: v0.3.3
+    version: v0.3.4
 requires:
   Carp: '0'
+  Config: '0'
   Data::Dump: '0'
   Exporter: '0'
   File::Temp: '0'
@@ -46,5 +47,5 @@
   warnings: '0'
 resources:
   license: http://dev.perl.org/licenses/
-version: v0.3.3
+version: v0.3.4
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/Makefile.PL 
new/Test-Trap-v0.3.4/Makefile.PL
--- old/Test-Trap-v0.3.3/Makefile.PL    2017-08-23 21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/Makefile.PL    2018-10-14 20:41:10.000000000 +0200
@@ -3,29 +3,30 @@
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
+  'NAME' => 'Test::Trap',
   'VERSION_FROM' => 'lib/Test/Trap.pm',
-  'INSTALLDIRS' => 'site',
-  'EXE_FILES' => [],
   'PREREQ_PM' => {
-                   'version' => 0,
-                   'File::Temp' => 0,
-                   'Test::Tester' => '0.107',
-                   'warnings' => 0,
+                   'Carp' => 0,
+                   'Config' => 0,
+                   'Data::Dump' => 0,
                    'Exporter' => 0,
-                   'lib' => 0,
+                   'File::Temp' => 0,
+                   'IO::Handle' => 0,
                    'Test::Builder' => 0,
-                   'base' => 0,
                    'Test::More' => 0,
+                   'Test::Tester' => '0.107',
+                   'base' => 0,
                    'constant' => 0,
-                   'Carp' => 0,
+                   'lib' => 0,
                    'strict' => 0,
-                   'IO::Handle' => 0,
-                   'Data::Dump' => 0
+                   'version' => 0,
+                   'warnings' => 0
                  },
+  'INSTALLDIRS' => 'site',
+  'EXE_FILES' => [],
   'PL_FILES' => {
                   't/08-fork.PL' => 't/08-fork.t',
                   't/11-systemsafe-basic.PL' => 't/11-systemsafe-basic.t'
-                },
-  'NAME' => 'Test::Trap'
+                }
 )
 ;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/PerlIO.pm 
new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/PerlIO.pm
--- old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/PerlIO.pm        2017-08-23 
21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/PerlIO.pm        2018-10-14 
20:41:10.000000000 +0200
@@ -1,6 +1,6 @@
 package Test::Trap::Builder::PerlIO;
 
-use version; $VERSION = qv('0.3.3');
+use version; $VERSION = qv('0.3.4');
 
 use strict;
 use warnings;
@@ -30,7 +30,7 @@
 
 =head1 VERSION
 
-Version 0.3.3
+Version 0.3.4
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/SystemSafe.pm 
new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/SystemSafe.pm
--- old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/SystemSafe.pm    2017-08-23 
21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/SystemSafe.pm    2018-10-14 
20:41:10.000000000 +0200
@@ -1,6 +1,6 @@
 package Test::Trap::Builder::SystemSafe;
 
-use version; $VERSION = qv('0.3.3');
+use version; $VERSION = qv('0.3.4');
 
 use strict;
 use warnings;
@@ -141,7 +141,7 @@
 
 =head1 VERSION
 
-Version 0.3.3
+Version 0.3.4
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/TempFile.pm 
new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/TempFile.pm
--- old/Test-Trap-v0.3.3/lib/Test/Trap/Builder/TempFile.pm      2017-08-23 
21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/lib/Test/Trap/Builder/TempFile.pm      2018-10-14 
20:41:10.000000000 +0200
@@ -1,6 +1,6 @@
 package Test::Trap::Builder::TempFile;
 
-use version; $VERSION = qv('0.3.3');
+use version; $VERSION = qv('0.3.4');
 
 use strict;
 use warnings;
@@ -80,7 +80,7 @@
 
 =head1 VERSION
 
-Version 0.3.3
+Version 0.3.4
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/lib/Test/Trap/Builder.pm 
new/Test-Trap-v0.3.4/lib/Test/Trap/Builder.pm
--- old/Test-Trap-v0.3.3/lib/Test/Trap/Builder.pm       2017-08-23 
21:57:50.000000000 +0200
+++ new/Test-Trap-v0.3.4/lib/Test/Trap/Builder.pm       2018-10-14 
20:41:10.000000000 +0200
@@ -1,6 +1,6 @@
 package Test::Trap::Builder;
 
-use version; $VERSION = qv('0.3.3');
+use version; $VERSION = qv('0.3.4');
 
 use strict;
 use warnings;
@@ -165,7 +165,11 @@
     my $ok;
     local $trap->Prop->{test_accessor} = "$accessor->{name}($index)";
     local $Test::Builder::Level = $Test::Builder::Level+1;
-    local($!, $^E) = ($!, $^E);
+
+    # Work around perl5 bug #119683, as per Test-Trap bug #127112:
+    my @copy = ($!, $^E);
+    local ($!, $^E) = @copy;
+
     $ok = $test->{code}->(@targs) or $trap->TestFailure;
     $ok;
   };
@@ -381,7 +385,7 @@
 
 =head1 VERSION
 
-Version 0.3.3
+Version 0.3.4
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/lib/Test/Trap.pm 
new/Test-Trap-v0.3.4/lib/Test/Trap.pm
--- old/Test-Trap-v0.3.3/lib/Test/Trap.pm       2017-08-23 21:57:50.000000000 
+0200
+++ new/Test-Trap-v0.3.4/lib/Test/Trap.pm       2018-10-14 20:41:10.000000000 
+0200
@@ -1,6 +1,6 @@
 package Test::Trap;
 
-use version; $VERSION = qv('0.3.3');
+use version; $VERSION = qv('0.3.4');
 
 use strict;
 use warnings;
@@ -304,7 +304,7 @@
 
 =head1 VERSION
 
-Version 0.3.3
+Version 0.3.4
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Trap-v0.3.3/t/13-regressions.t 
new/Test-Trap-v0.3.4/t/13-regressions.t
--- old/Test-Trap-v0.3.3/t/13-regressions.t     2017-08-23 21:57:50.000000000 
+0200
+++ new/Test-Trap-v0.3.4/t/13-regressions.t     2018-10-14 20:41:10.000000000 
+0200
@@ -2,7 +2,7 @@
 # -*- mode: cperl ; compile-command: "cd .. ; ./Build ; prove -vb t/13-*.t" -*-
 
 BEGIN { $_ = defined && /(.*)/ && $1 for @ENV{qw/ TMPDIR TEMP TMP /} } # taint 
vs tempfile
-use Test::More tests => 11;
+use Test::More tests => 13;
 use strict;
 use warnings;
 
@@ -43,3 +43,10 @@
 $trap->did_return() or $trap->diag_all;
 $copy = $^E;
 is( $copy, '', '$^E is unchanged after did_return()');
+
+# For RT #127112
+local $! = 42;
+scalar trap { die bless [], "Foo" };
+$trap->die_isa_ok("Foo");
+$copy = $!+0;
+is( $copy, 42, '$! is unchanged after die_isa_ok' );


Reply via email to