Hello community, here is the log from the commit of package perl-autobox for openSUSE:Factory checked in at 2015-04-16 14:13:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-autobox (Old) and /work/SRC/openSUSE:Factory/.perl-autobox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-autobox" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-autobox/perl-autobox.changes 2013-11-26 19:23:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-autobox.new/perl-autobox.changes 2015-04-16 14:13:33.000000000 +0200 @@ -1,0 +2,12 @@ +Tue Apr 14 20:39:26 UTC 2015 - [email protected] + +- updated to 2.83 + see /usr/share/doc/packages/perl-autobox/Changes + + 2.83 Sun Feb 1 21:34:01 2015 + - RT #100247: fix assertion failures on 5.21.x perls with -DDEBUGGING + (thanks, ilmari and Father Chrysostomos) + - RT #100717: don't hide autobox::universal from PAUSE (thanks, ppisar) + - RT #89754: INSTALLDIRS fix (thanks, Kent Fredric) + +------------------------------------------------------------------- Old: ---- autobox-2.82.tar.gz New: ---- autobox-2.83.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-autobox.spec ++++++ --- /var/tmp/diff_new_pack.8rNGqh/_old 2015-04-16 14:13:33.000000000 +0200 +++ /var/tmp/diff_new_pack.8rNGqh/_new 2015-04-16 14:13:33.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-autobox # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,23 +17,19 @@ Name: perl-autobox -Version: 2.82 +Version: 2.83 Release: 0 %define cpan_name autobox -Summary: call methods on native types +Summary: Call Methods On Native Types License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/autobox/ -Source: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Scope::Guard) >= 0.20 -#BuildRequires: perl(autobox) -#BuildRequires: perl(autobox_scope_1) -#BuildRequires: perl(autobox_scope_2) -#BuildRequires: perl(autobox::universal) -#BuildRequires: perl(Versioned) Requires: perl(Scope::Guard) >= 0.20 %{perl_requires} ++++++ autobox-2.82.tar.gz -> autobox-2.83.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/Changes new/autobox-2.83/Changes --- old/autobox-2.82/Changes 2013-10-26 04:09:45.000000000 +0200 +++ new/autobox-2.83/Changes 2015-02-01 22:35:12.000000000 +0100 @@ -1,5 +1,11 @@ Revision history for Perl extension autobox +2.83 Sun Feb 1 21:34:01 2015 + - RT #100247: fix assertion failures on 5.21.x perls with -DDEBUGGING + (thanks, ilmari and Father Chrysostomos) + - RT #100717: don't hide autobox::universal from PAUSE (thanks, ppisar) + - RT #89754: INSTALLDIRS fix (thanks, Kent Fredric) + 2.82 Sat Oct 26 12:44:52 2013 - simplify test to avoid portability woes @@ -9,6 +15,7 @@ 2.80 Fri Oct 25 19:32:12 2013 - RT #71777: fix segfault in destructor called during global destruction (thanks, Tomas Doran) - added t/rt_71777.t + - fix doc typo (thanks, David Steinbrunner) 2.79 Tue Apr 30 21:22:05 2013 - allow import arguments to be passed as a hashref diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/META.json new/autobox-2.83/META.json --- old/autobox-2.82/META.json 2013-10-26 04:11:08.000000000 +0200 +++ new/autobox-2.83/META.json 2015-02-01 22:42:12.000000000 +0100 @@ -4,7 +4,7 @@ "chocolateboy <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.130880", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240", "license" : [ "perl_5" ], @@ -32,15 +32,19 @@ }, "runtime" : { "requires" : { - "Scope::Guard" : "0.20" + "Scope::Guard" : "0.20", + "perl" : "5.008000" } } }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "web" : "https://github.com/chocolateboy/autobox/issues" + }, "repository" : { - "url" : "http://github.com/chocolateboy/autobox" + "url" : "https://github.com/chocolateboy/autobox" } }, - "version" : "2.82" + "version" : "2.83" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/META.yml new/autobox-2.83/META.yml --- old/autobox-2.82/META.yml 2013-10-26 04:11:08.000000000 +0200 +++ new/autobox-2.83/META.yml 2015-02-01 22:42:12.000000000 +0100 @@ -3,22 +3,24 @@ author: - 'chocolateboy <[email protected]>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.130880' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: autobox no_index: directory: - t - inc requires: - Scope::Guard: 0.20 + Scope::Guard: '0.20' + perl: '5.008000' resources: - repository: http://github.com/chocolateboy/autobox -version: 2.82 + bugtracker: https://github.com/chocolateboy/autobox/issues + repository: https://github.com/chocolateboy/autobox +version: '2.83' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/Makefile.PL new/autobox-2.83/Makefile.PL --- old/autobox-2.82/Makefile.PL 2011-07-21 23:06:57.000000000 +0200 +++ new/autobox-2.83/Makefile.PL 2015-02-01 22:14:41.000000000 +0100 @@ -6,6 +6,7 @@ use ExtUtils::MakeMaker; use Config; +my $EUMM_VERSION = eval($ExtUtils::MakeMaker::VERSION); my $OPTIMIZE; if ($Config{gccversion}) { @@ -21,7 +22,7 @@ NAME => 'autobox', VERSION_FROM => 'lib/autobox.pm', # compatibility in case module was previously installed to lib - INSTALLDIRS => ($] >= 5.014 ? 'site' : 'perl'), + INSTALLDIRS => ($] >= 5.011 ? 'site' : 'perl'), PREREQ_PM => { 'Scope::Guard' => '0.20', }, @@ -29,11 +30,13 @@ AUTHOR => 'chocolateboy <[email protected]>', INC => '-I.', OPTIMIZE => $OPTIMIZE, - (eval($ExtUtils::MakeMaker::VERSION) >= 6.31 ? (LICENSE => 'perl') : ()), - (eval($ExtUtils::MakeMaker::VERSION) >= 6.46 ? + ($EUMM_VERSION >= 6.48 ? (MIN_PERL_VERSION => '5.8.0') : ()), + ($EUMM_VERSION >= 6.31 ? (LICENSE => 'perl') : ()), + ($EUMM_VERSION >= 6.46 ? (META_MERGE => { resources => { - repository => 'http://github.com/chocolateboy/autobox', + repository => 'https://github.com/chocolateboy/autobox', + bugtracker => 'https://github.com/chocolateboy/autobox/issues', }, }) : () diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/README new/autobox-2.83/README --- old/autobox-2.82/README 2013-10-26 04:04:23.000000000 +0200 +++ new/autobox-2.83/README 2015-02-01 21:57:23.000000000 +0100 @@ -1,4 +1,4 @@ -autobox version 2.82 +autobox version 2.83 ==================== The autobox pragma allows methods to be called on integers, floats, strings, arrays, hashes, and code references in exactly the same manner as blessed references. @@ -28,4 +28,4 @@ This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -Copyright (c) 2003-2013 chocolateboy <[email protected]> +Copyright (c) 2003-2015 chocolateboy <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/autobox.xs new/autobox-2.83/autobox.xs --- old/autobox-2.82/autobox.xs 2013-10-26 04:04:23.000000000 +0200 +++ new/autobox-2.83/autobox.xs 2015-02-01 21:57:23.000000000 +0100 @@ -11,8 +11,10 @@ static PTABLE_t *AUTOBOX_OP_MAP = NULL; static U32 AUTOBOX_SCOPE_DEPTH = 0; static OP *(*autobox_old_ck_subr)(pTHX_ OP *op) = NULL; + static SV * autobox_method_common(pTHX_ SV *meth, U32 *hashp); static const char * autobox_type(pTHX_ SV * const sv, STRLEN *len); +static void autobox_cleanup(pTHX_ void * unused); OP * autobox_ck_subr(pTHX_ OP *o); OP * autobox_method_named(pTHX); @@ -26,7 +28,8 @@ * XXX this is fixed in #33311: http://www.nntp.perl.org/group/perl.perl5.porters/2008/02/msg134131.html */ if ((PL_hints & 0x80020000) == 0x80020000) { - OP *prev = ((cUNOPo->op_first->op_sibling) ? cUNOPo : ((UNOP*)cUNOPo->op_first))->op_first; + UNOP *parent = (cUNOPo->op_first->op_sibling) ? cUNOPo : ((UNOP*)cUNOPo->op_first); + OP *prev = parent->op_first; OP *o2 = prev->op_sibling; OP *cvop; @@ -51,7 +54,10 @@ * if the receiver is an @array, %hash, @{ ... } or %{ ... }, then "autoref" it * i.e. the op tree equivalent of inserting a backslash before it */ + +#ifndef op_sibling_splice OP *refgen; +#endif U32 toggled = 0; switch (o2->op_type) { @@ -76,10 +82,28 @@ toggled = 1; } +#ifdef op_sibling_splice + op_sibling_splice( + (OP *)parent, + prev, + 0, + newUNOP( + OP_REFGEN, + 0, + op_sibling_splice( + (OP *)parent, + prev, + 1, + NULL + ) + ) + ); +#else refgen = newUNOP(OP_REFGEN, 0, o2); prev->op_sibling = refgen; refgen->op_sibling = o2->op_sibling; o2->op_sibling = NULL; +#endif /* Restore the parentheses in case something else expects them */ if (toggled) { @@ -241,8 +265,8 @@ STRLEN typelen = 0; /* - * the type is either the receiver's reftype(), a subtype of SCALAR if it's not a ref, or UNDEF if - * it's not defined + * the type is either the receiver's reftype(), a subtype of SCALAR if it's + * not a ref, or UNDEF if it's not defined */ if (SvOK(sv)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/lib/autobox/universal.pm new/autobox-2.83/lib/autobox/universal.pm --- old/autobox-2.82/lib/autobox/universal.pm 2011-07-21 23:06:57.000000000 +0200 +++ new/autobox-2.83/lib/autobox/universal.pm 2015-02-01 22:07:25.000000000 +0100 @@ -1,5 +1,4 @@ -package # hide from PAUSE - autobox::universal; +package autobox::universal; use strict; use warnings; @@ -9,6 +8,6 @@ use Exporter (); # perl 5.8.0 doesn't support "use Exporter qw(import)" our @ISA = qw(Exporter); -our @EXPORT_OK = qw(type); +our @EXPORT_OK = qw(type); 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/lib/autobox.pm new/autobox-2.83/lib/autobox.pm --- old/autobox-2.82/lib/autobox.pm 2013-10-26 04:04:23.000000000 +0200 +++ new/autobox-2.83/lib/autobox.pm 2015-02-01 21:57:23.000000000 +0100 @@ -11,7 +11,7 @@ use Scope::Guard; use Storable; -our $VERSION = '2.82'; +our $VERSION = '2.83'; XSLoader::load 'autobox', $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/lib/autobox.pod new/autobox-2.83/lib/autobox.pod --- old/autobox-2.82/lib/autobox.pod 2013-10-26 04:04:23.000000000 +0200 +++ new/autobox-2.83/lib/autobox.pod 2015-02-01 21:57:23.000000000 +0100 @@ -661,7 +661,7 @@ =head1 VERSION -2.82 +2.83 =head1 SEE ALSO @@ -683,7 +683,7 @@ =head1 COPYRIGHT -Copyright (c) 2003-2013, chocolateboy. +Copyright (c) 2003-2015, chocolateboy. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autobox-2.82/t/rt_71777.t new/autobox-2.83/t/rt_71777.t --- old/autobox-2.82/t/rt_71777.t 2013-10-26 04:04:23.000000000 +0200 +++ new/autobox-2.83/t/rt_71777.t 2014-09-24 03:11:54.000000000 +0200 @@ -35,8 +35,8 @@ sub unused { } } -my $bar = bless {}, 'Bar'; my $foo = bless {}, 'Foo'; +my $bar = bless {}, 'Bar'; $foo->{bar} = $bar; $bar->{foo} = $foo; ++++++ cpanspec.yml ++++++ --- description_paragraphs: 3 #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_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag
