Hello community,
here is the log from the commit of package perl-Variable-Magic for
openSUSE:Factory checked in at 2017-11-12 17:56:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Variable-Magic (Old)
and /work/SRC/openSUSE:Factory/.perl-Variable-Magic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Variable-Magic"
Sun Nov 12 17:56:16 2017 rev:18 rq:539950 version:0.62
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Variable-Magic/perl-Variable-Magic.changes
2017-02-16 17:05:07.367237498 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Variable-Magic.new/perl-Variable-Magic.changes
2017-11-12 17:56:17.434053554 +0100
@@ -1,0 +2,11 @@
+Sun Nov 5 07:12:25 UTC 2017 - [email protected]
+
+- updated to 0.62
+ see /usr/share/doc/packages/perl-Variable-Magic/Changes
+
+ 0.62 2017-11-04 16:35 UTC
+ + Fix : [RT #123314] : Compatibility with CV-in-stash optimisation
+ Thanks Father Chrysostomos for reporting and contributing a
+ patch.
+
+-------------------------------------------------------------------
Old:
----
Variable-Magic-0.61.tar.gz
New:
----
Variable-Magic-0.62.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Variable-Magic.spec ++++++
--- /var/tmp/diff_new_pack.NeAbaR/_old 2017-11-12 17:56:18.286022522 +0100
+++ /var/tmp/diff_new_pack.NeAbaR/_new 2017-11-12 17:56:18.290022376 +0100
@@ -17,7 +17,7 @@
Name: perl-Variable-Magic
-Version: 0.61
+Version: 0.62
Release: 0
%define cpan_name Variable-Magic
Summary: Associate user-defined magic to variables from Perl
++++++ Variable-Magic-0.61.tar.gz -> Variable-Magic-0.62.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/Changes
new/Variable-Magic-0.62/Changes
--- old/Variable-Magic-0.61/Changes 2017-01-24 16:05:05.000000000 +0100
+++ new/Variable-Magic-0.62/Changes 2017-11-04 17:27:10.000000000 +0100
@@ -1,5 +1,10 @@
Revision history for Variable-Magic
+0.62 2017-11-04 16:35 UTC
+ + Fix : [RT #123314] : Compatibility with CV-in-stash optimisation
+ Thanks Father Chrysostomos for reporting and contributing a
+ patch.
+
0.61 2017-01-24 15:30 UTC
+ Fix : [RT #115792] : Latest blead stack unwind work causes infloop
in a test.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/META.json
new/Variable-Magic-0.62/META.json
--- old/Variable-Magic-0.61/META.json 2017-01-24 16:06:59.000000000 +0100
+++ new/Variable-Magic-0.62/META.json 2017-11-04 17:27:24.000000000 +0100
@@ -4,13 +4,13 @@
"Vincent Pit <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Variable-Magic",
"no_index" : {
@@ -66,6 +66,6 @@
"url" :
"http://git.profvince.com/?p=perl%2Fmodules%2FVariable-Magic.git"
}
},
- "version" : "0.61",
- "x_serialization_backend" : "JSON::PP version 2.27400"
+ "version" : "0.62",
+ "x_serialization_backend" : "JSON::PP version 2.94"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/META.yml
new/Variable-Magic-0.62/META.yml
--- old/Variable-Magic-0.61/META.yml 2017-01-24 16:06:59.000000000 +0100
+++ new/Variable-Magic-0.62/META.yml 2017-11-04 17:27:24.000000000 +0100
@@ -20,7 +20,7 @@
Config: '0'
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -41,5 +41,5 @@
homepage: http://search.cpan.org/dist/Variable-Magic/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2FVariable-Magic.git
-version: '0.61'
+version: '0.62'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/README
new/Variable-Magic-0.62/README
--- old/Variable-Magic-0.61/README 2017-01-24 16:06:59.000000000 +0100
+++ new/Variable-Magic-0.62/README 2017-11-04 17:27:24.000000000 +0100
@@ -2,7 +2,7 @@
Variable::Magic - Associate user-defined magic to variables from Perl.
VERSION
- Version 0.61
+ Version 0.62
SYNOPSIS
use Variable::Magic qw<wizard cast VMG_OP_INFO_NAME>;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/lib/Variable/Magic.pm
new/Variable-Magic-0.62/lib/Variable/Magic.pm
--- old/Variable-Magic-0.61/lib/Variable/Magic.pm 2017-01-24
15:56:41.000000000 +0100
+++ new/Variable-Magic-0.62/lib/Variable/Magic.pm 2017-11-04
17:22:48.000000000 +0100
@@ -11,13 +11,13 @@
=head1 VERSION
-Version 0.61
+Version 0.62
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.61';
+ $VERSION = '0.62';
}
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/t/35-stash.t
new/Variable-Magic-0.62/t/35-stash.t
--- old/Variable-Magic-0.61/t/35-stash.t 2015-06-05 10:48:21.000000000
+0200
+++ new/Variable-Magic-0.62/t/35-stash.t 2017-11-04 17:20:15.000000000
+0100
@@ -114,9 +114,12 @@
eval q{ Hlagh->shoot() };
is $@, '', 'stash: valid method call ran fine';
- is_deeply \%mg, {
- fetch => [ qw<shoot> ],
- }, 'stash: valid method call';
+ my %expected = ( fetch => [ qw<shoot> ] );
+ # Typeglob reification may cause a store in 5.28+
+ if ("$]" >= 5.027 && %mg == 2) {
+ $expected{store} = $expected{fetch};
+ }
+ is_deeply \%mg, \%expected, 'stash: valid method call';
}
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Variable-Magic-0.61/t/lib/VPIT/TestHelpers.pm
new/Variable-Magic-0.62/t/lib/VPIT/TestHelpers.pm
--- old/Variable-Magic-0.61/t/lib/VPIT/TestHelpers.pm 2015-07-21
00:33:52.000000000 +0200
+++ new/Variable-Magic-0.62/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;