Hello community,

here is the log from the commit of package perl-autovivification for 
openSUSE:Factory checked in at 2017-11-12 17:56:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-autovivification (Old)
 and      /work/SRC/openSUSE:Factory/.perl-autovivification.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-autovivification"

Sun Nov 12 17:56:10 2017 rev:9 rq:539949 version:0.18

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-autovivification/perl-autovivification.changes  
    2017-08-21 11:34:22.392699978 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-autovivification.new/perl-autovivification.changes
 2017-11-12 17:56:11.442271797 +0100
@@ -1,0 +2,15 @@
+Sun Nov  5 07:16:54 UTC 2017 - [email protected]
+
+- updated to 0.18
+   see /usr/share/doc/packages/perl-autovivification/Changes
+
+  0.18    2017-11-04 15:30 UTC
+          + Fix : [RT #123411] : Compatibility with CV-in-stash optimisation
+                  Thanks Father Chrysostomos for reporting and contributing a
+                  patch.
+          + Fix : [RT #122956] : strict/warn flags seem to simply do nothing
+                  The documentation has been amended to clarify how these two
+                  options are supposed to be used.
+                  Thanks Christian Walde for reporting.
+
+-------------------------------------------------------------------

Old:
----
  autovivification-0.17.tar.gz

New:
----
  autovivification-0.18.tar.gz

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

Other differences:
------------------
++++++ perl-autovivification.spec ++++++
--- /var/tmp/diff_new_pack.n44LfG/_old  2017-11-12 17:56:13.006214833 +0100
+++ /var/tmp/diff_new_pack.n44LfG/_new  2017-11-12 17:56:13.010214687 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-autovivification
-Version:        0.17
+Version:        0.18
 Release:        0
 %define cpan_name autovivification
 Summary:        Lexically disable autovivification

++++++ autovivification-0.17.tar.gz -> autovivification-0.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/Changes 
new/autovivification-0.18/Changes
--- old/autovivification-0.17/Changes   2017-07-31 18:35:04.000000000 +0200
+++ new/autovivification-0.18/Changes   2017-11-04 16:18:07.000000000 +0100
@@ -1,5 +1,14 @@
 Revision history for autovivification
 
+0.18    2017-11-04 15:30 UTC
+        + Fix : [RT #123411] : Compatibility with CV-in-stash optimisation
+                Thanks Father Chrysostomos for reporting and contributing a
+                patch.
+        + Fix : [RT #122956] : strict/warn flags seem to simply do nothing
+                The documentation has been amended to clarify how these two
+                options are supposed to be used.
+                Thanks Christian Walde for reporting.
+
 0.17    2017-07-31 17:15 UTC
         + Chg : A large chunk of boilerplate XS code, which is also used in
                 other XS modules, has been factored out of the main .xs file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/META.json 
new/autovivification-0.18/META.json
--- old/autovivification-0.17/META.json 2017-07-31 18:38:10.000000000 +0200
+++ new/autovivification-0.18/META.json 2017-11-04 16:18:23.000000000 +0100
@@ -55,6 +55,6 @@
          "url" : 
"http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git";
       }
    },
-   "version" : "0.17",
+   "version" : "0.18",
    "x_serialization_backend" : "JSON::PP version 2.94"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/META.yml 
new/autovivification-0.18/META.yml
--- old/autovivification-0.17/META.yml  2017-07-31 18:38:09.000000000 +0200
+++ new/autovivification-0.18/META.yml  2017-11-04 16:18:23.000000000 +0100
@@ -30,5 +30,5 @@
   homepage: http://search.cpan.org/dist/autovivification/
   license: http://dev.perl.org/licenses/
   repository: http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git
-version: '0.17'
+version: '0.18'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/README 
new/autovivification-0.18/README
--- old/autovivification-0.17/README    2017-07-31 18:38:10.000000000 +0200
+++ new/autovivification-0.18/README    2017-11-04 16:18:24.000000000 +0100
@@ -2,7 +2,7 @@
     autovivification - Lexically disable autovivification.
 
 VERSION
-    Version 0.17
+    Version 0.18
 
 SYNOPSIS
         no autovivification;
@@ -36,8 +36,8 @@
   "unimport"
         no autovivification; # defaults to qw<fetch exists delete>
         no autovivification qw<fetch store exists delete>;
-        no autovivification 'warn';
-        no autovivification 'strict';
+        no autovivification warn   => @categories;
+        no autovivification strict => @categories;
 
     Magically called when "no autovivification @opts" is encountered.
     Enables the features given in @opts, which can be :
@@ -101,11 +101,21 @@
 
     *   'warn'
 
-        Emits a warning when an autovivification is avoided.
+        Emits a warning when an autovivification is avoided for the
+        categories specified in @opts.
+
+        Note that "no autovivification 'warn'" currently does nothing by
+        itself, in particular it does not make the default categories warn.
+        This behaviour may change in a future version of this pragma.
 
     *   'strict'
 
-        Throws an exception when an autovivification is avoided.
+        Throws an exception when an autovivification is avoided for the
+        categories specified in @opts.
+
+        Note that "no autovivification 'strict'" currently does nothing by
+        itself, in particular it does not make the default categories die.
+        This behaviour may change in a future version of this pragma.
 
     Each call to "unimport" adds the specified features to the ones already
     in use in the current lexical scope.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/lib/autovivification.pm 
new/autovivification-0.18/lib/autovivification.pm
--- old/autovivification-0.17/lib/autovivification.pm   2017-07-31 
17:47:29.000000000 +0200
+++ new/autovivification-0.18/lib/autovivification.pm   2017-11-04 
16:14:37.000000000 +0100
@@ -11,13 +11,13 @@
 
 =head1 VERSION
 
-Version 0.17
+Version 0.18
 
 =cut
 
 our $VERSION;
 BEGIN {
- $VERSION = '0.17';
+ $VERSION = '0.18';
 }
 
 =head1 SYNOPSIS
@@ -57,8 +57,8 @@
 
     no autovivification; # defaults to qw<fetch exists delete>
     no autovivification qw<fetch store exists delete>;
-    no autovivification 'warn';
-    no autovivification 'strict';
+    no autovivification warn   => @categories;
+    no autovivification strict => @categories;
 
 Magically called when C<no autovivification @opts> is encountered.
 Enables the features given in C<@opts>, which can be :
@@ -125,13 +125,19 @@
 
 C<'warn'>
 
-Emits a warning when an autovivification is avoided.
+Emits a warning when an autovivification is avoided for the categories 
specified in C<@opts>.
+
+Note that C<no autovivification 'warn'> currently does nothing by itself, in 
particular it does not make the default categories warn.
+This behaviour may change in a future version of this pragma.
 
 =item *
 
 C<'strict'>
 
-Throws an exception when an autovivification is avoided.
+Throws an exception when an autovivification is avoided for the categories 
specified in C<@opts>.
+
+Note that C<no autovivification 'strict'> currently does nothing by itself, in 
particular it does not make the default categories die.
+This behaviour may change in a future version of this pragma.
 
 =back
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autovivification-0.17/t/lib/VPIT/TestHelpers.pm 
new/autovivification-0.18/t/lib/VPIT/TestHelpers.pm
--- old/autovivification-0.17/t/lib/VPIT/TestHelpers.pm 2015-07-31 
17:50:07.000000000 +0200
+++ new/autovivification-0.18/t/lib/VPIT/TestHelpers.pm 2017-11-04 
15:31:56.000000000 +0100
@@ -97,7 +97,9 @@
  }
 
  my $glob = $stash->{$sub};
- return $glob ? *$glob{CODE} : undef;
+ return ref \$glob eq 'GLOB' ? *$glob{CODE}
+      : ref  $glob eq 'CODE' ?  $glob
+      :                          undef;
 };
 
 sub skip { $test_sub->('skip')->(@_) }
@@ -193,7 +195,15 @@
 
 =item *
 
-Dependencies : none
+Dependencies :
+
+=over 8
+
+=item -
+
+L<File::Spec>
+
+=back
 
 =item *
 
@@ -207,6 +217,10 @@
 
 =item -
 
+C<run_perl_file $file>
+
+=item -
+
 C<RUN_PERL_FAILED> (possibly prefixed by C<$p>)
 
 =back
@@ -241,8 +255,14 @@
 sub init_run_perl {
  my $p = sanitize_prefix(shift);
 
+ # This is only required for run_perl_file(), so it is not needed for the
+ # threads feature which only calls run_perl() - don't forget to update its
+ # requirements if this ever changes.
+ require File::Spec;
+
  return (
   run_perl              => \&run_perl,
+  run_perl_file         => \&run_perl_file,
   "${p}RUN_PERL_FAILED" => sub () { 'Could not execute perl subprocess' },
  );
 }
@@ -260,6 +280,20 @@
  };
 }
 
+sub run_perl_file {
+ my $file = shift;
+
+ $file = File::Spec->rel2abs($file);
+ unless (-e $file and -r _) {
+  die 'Could not run perl file';
+ }
+
+ fresh_perl_env {
+  my ($perl, @perl_args) = @_;
+  system { $perl } $perl, @perl_args, $file;
+ };
+}
+
 =head2 C<capture>
 
 =over 4
@@ -624,6 +658,7 @@
 
  if (defined $pkg and defined $threadsafe_var) {
   my $threadsafe;
+  # run_perl() doesn't actually require anything
   my $stat = run_perl("require POSIX; require $pkg; exit($threadsafe_var ? 
POSIX::EXIT_SUCCESS() : POSIX::EXIT_FAILURE())");
   if (defined $stat) {
    require POSIX;


Reply via email to