Hello community, here is the log from the commit of package perl-version for openSUSE:Factory checked in at 2016-05-31 12:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-version (Old) and /work/SRC/openSUSE:Factory/.perl-version.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-version" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-version/perl-version.changes 2016-04-22 16:23:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-version.new/perl-version.changes 2016-05-31 12:25:31.000000000 +0200 @@ -1,0 +2,47 @@ +Mon May 30 11:20:00 UTC 2016 - coolo@suse.com + +- updated to 0.9917 + see /usr/share/doc/packages/perl-version/Changes + + 2016-05-29 John Peacock <john.peacock@havurah-software.org> + + * flow: Merged <hotfix> '0.9917' to <develop> ('develop'). + [5d83ccf33657] [tip] <develop> + + * .hgtags: + Added tag 0.9917 for changeset 464516d1bf10 + [2e2892f29539] + + * flow: Merged <hotfix> '0.9917' to <master> ('default'). + [464516d1bf10] [0.9917] + + * flow: Closed <hotfix> '0.9917'. + [b1bfcb0828d1] <hotfix/0.9917> + + * Makefile.PL, README, lib/version.pm, lib/version/regex.pm, t/00impl- + pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, + t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, + vperl/vpp.pm, vutil/lib/version/vxs.pm: + Prep for release + [5cadbb0ba7dd] <hotfix/0.9917> + + * t/04strict_lax.t: + A couple more tests to make sure the captures work + [c0650c7fee2a] <hotfix/0.9917> + + 2016-05-25 John Peacock <john.peacock@havurah-software.org> + + * lib/version/regex.pm: + Ordering counts when you have greedy matching + [7dd7f57f958c] <hotfix/0.9917> + + * t/04strict_lax.t: + Add a test before fixing bug + [6a59439b71e6] <hotfix/0.9917> + + 2016-04-01 John Peacock <john.peacock@havurah-software.org> + + * flow: Created branch 'hotfix/0.9917'. + [d287474c7e4b] <hotfix/0.9917> + +------------------------------------------------------------------- Old: ---- version-0.9916.tar.gz New: ---- version-0.9917.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-version.spec ++++++ --- /var/tmp/diff_new_pack.1zidGk/_old 2016-05-31 12:25:32.000000000 +0200 +++ /var/tmp/diff_new_pack.1zidGk/_new 2016-05-31 12:25:32.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-version -Version: 0.9916 +Version: 0.9917 Release: 0 %define cpan_name version Summary: Perl extension for Version Objects ++++++ version-0.9916.tar.gz -> version-0.9917.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/Changes new/version-0.9917/Changes --- old/version-0.9916/Changes 2016-03-19 03:13:51.000000000 +0100 +++ new/version-0.9917/Changes 2016-05-29 13:50:13.000000000 +0200 @@ -1,8 +1,49 @@ +2016-05-29 John Peacock <john.peacock@havurah-software.org> + + * flow: Merged <hotfix> '0.9917' to <develop> ('develop'). + [5d83ccf33657] [tip] <develop> + + * .hgtags: + Added tag 0.9917 for changeset 464516d1bf10 + [2e2892f29539] + + * flow: Merged <hotfix> '0.9917' to <master> ('default'). + [464516d1bf10] [0.9917] + + * flow: Closed <hotfix> '0.9917'. + [b1bfcb0828d1] <hotfix/0.9917> + + * Makefile.PL, README, lib/version.pm, lib/version/regex.pm, t/00impl- + pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, + t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, + vperl/vpp.pm, vutil/lib/version/vxs.pm: + Prep for release + [5cadbb0ba7dd] <hotfix/0.9917> + + * t/04strict_lax.t: + A couple more tests to make sure the captures work + [c0650c7fee2a] <hotfix/0.9917> + +2016-05-25 John Peacock <john.peacock@havurah-software.org> + + * lib/version/regex.pm: + Ordering counts when you have greedy matching + [7dd7f57f958c] <hotfix/0.9917> + + * t/04strict_lax.t: + Add a test before fixing bug + [6a59439b71e6] <hotfix/0.9917> + +2016-04-01 John Peacock <john.peacock@havurah-software.org> + + * flow: Created branch 'hotfix/0.9917'. + [d287474c7e4b] <hotfix/0.9917> + 2016-03-18 John Peacock <john.peacock@havurah-software.org> * .hgtags: Added tag 0.9916 for changeset 15763a2f6075 - [3cffe3d1d62a] [tip] + [3cffe3d1d62a] * flow: Merged <release> '0.9916' to <master> ('default'). [15763a2f6075] [0.9916] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/META.json new/version-0.9917/META.json --- old/version-0.9916/META.json 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/META.json 2016-05-29 13:50:12.000000000 +0200 @@ -54,6 +54,6 @@ "url" : "https://bitbucket.org/jpeacock/version" } }, - "version" : "0.9916", + "version" : "0.9917", "x_serialization_backend" : "JSON::PP version 2.27203" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/META.yml new/version-0.9917/META.yml --- old/version-0.9916/META.yml 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/META.yml 2016-05-29 13:50:12.000000000 +0200 @@ -28,5 +28,5 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=version repository: https://bitbucket.org/jpeacock/version -version: '0.9916' +version: '0.9917' x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/Makefile.PL new/version-0.9917/Makefile.PL --- old/version-0.9916/Makefile.PL 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/Makefile.PL 2016-05-29 13:50:12.000000000 +0200 @@ -52,7 +52,7 @@ 'parent' => 0.221, ); - WriteMakefile( VERSION => '0.9916', + WriteMakefile( VERSION => '0.9917', NAME => 'version', LICENSE => 'perl', MIN_PERL_VERSION=> 5.006002, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/README new/version-0.9917/README --- old/version-0.9916/README 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/README 2016-05-29 13:50:12.000000000 +0200 @@ -1,4 +1,4 @@ -version 0.9916 +version 0.9917 ================================== Object oriented versions for all Perl releases from 5.6.2 onward. Replaces @@ -26,6 +26,11 @@ 5.10.0 to segfault. As long as some module calls 'use version', then the replacement code will take effect and Perl will not crash. +Major Changes in 0.9917 - 2016-05-29 +========================================= +Fix version::regex captures, resolves: + https://rt.cpan.org/Ticket/Display.html?id=114712 + Major Changes in 0.9916 - 2016-03-18 ========================================= Incorporate changes from bleadperl (destined to be 5.24.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/lib/version/regex.pm new/version-0.9917/lib/version/regex.pm --- old/version-0.9916/lib/version/regex.pm 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/lib/version/regex.pm 2016-05-29 13:50:12.000000000 +0200 @@ -4,7 +4,7 @@ use vars qw($VERSION $CLASS $STRICT $LAX); -$VERSION = 0.9916; +$VERSION = 0.9917; #--------------------------------------------------------------------------# # Version regexp components @@ -81,7 +81,7 @@ # decimal-point my $LAX_DECIMAL_VERSION = - qr/ $LAX_INTEGER_PART (?: \. | $FRACTION_PART $LAX_ALPHA_PART? )? + qr/ $LAX_INTEGER_PART (?: $FRACTION_PART | \. )? $LAX_ALPHA_PART? | $FRACTION_PART $LAX_ALPHA_PART? /x; @@ -106,7 +106,7 @@ # of return values from ExtUtils::MM->parse_version $LAX = - qr/ undef | $LAX_DECIMAL_VERSION | $LAX_DOTTED_DECIMAL_VERSION /x; + qr/ undef | $LAX_DOTTED_DECIMAL_VERSION | $LAX_DECIMAL_VERSION /x; #--------------------------------------------------------------------------# diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/lib/version.pm new/version-0.9917/lib/version.pm --- old/version-0.9916/lib/version.pm 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/lib/version.pm 2016-05-29 13:50:12.000000000 +0200 @@ -10,7 +10,7 @@ use vars qw(@ISA $VERSION $CLASS $STRICT $LAX *declare *qv); -$VERSION = 0.9916; +$VERSION = 0.9917; $CLASS = 'version'; # !!!!Delete this next block completely when adding to Perl core!!!! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/00impl-pp.t new/version-0.9917/t/00impl-pp.t --- old/version-0.9916/t/00impl-pp.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/00impl-pp.t 2016-05-29 13:50:12.000000000 +0200 @@ -12,7 +12,7 @@ (File::Spec->splitpath($0))[0,1], 'coretests.pm' ); require $coretests; - use_ok('version::vpp', 0.9916); + use_ok('version::vpp', 0.9917); } BaseTests("version::vpp","new","qv"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/01base.t new/version-0.9917/t/01base.t --- old/version-0.9916/t/01base.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/01base.t 2016-05-29 13:50:12.000000000 +0200 @@ -12,7 +12,7 @@ (File::Spec->splitpath($0))[0,1], 'coretests.pm' ); require $coretests; - use_ok('version', 0.9916); + use_ok('version', 0.9917); } BaseTests("version","new","qv"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/02derived.t new/version-0.9917/t/02derived.t --- old/version-0.9916/t/02derived.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/02derived.t 2016-05-29 13:50:12.000000000 +0200 @@ -13,7 +13,7 @@ (File::Spec->splitpath($0))[0,1], 'coretests.pm' ); require $coretests; - use_ok("version", 0.9916); + use_ok("version", 0.9917); # If we made it this far, we are ok. } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/03require.t new/version-0.9917/t/03require.t --- old/version-0.9916/t/03require.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/03require.t 2016-05-29 13:50:12.000000000 +0200 @@ -17,7 +17,7 @@ # Don't want to use, because we need to make sure that the import doesn't # fire just yet (some code does this to avoid importing qv() and delare()). require_ok("version"); -is $version::VERSION, 0.9916, "Make sure we have the correct class"; +is $version::VERSION, 0.9917, "Make sure we have the correct class"; ok(!"main"->can("qv"), "We don't have the imported qv()"); ok(!"main"->can("declare"), "We don't have the imported declare()"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/04strict_lax.t new/version-0.9917/t/04strict_lax.t --- old/version-0.9916/t/04strict_lax.t 2015-10-18 07:02:36.000000000 +0200 +++ new/version-0.9917/t/04strict_lax.t 2016-05-29 13:50:12.000000000 +0200 @@ -13,6 +13,14 @@ strict_lax_tests(); is ref($version::LAX), 'Regexp', 'Can see $version::LAX '.$version::LAX ; is ref($version::STRICT), 'Regexp', 'Can see $version::STRICT '.$version::STRICT; + { # https://rt.cpan.org/Ticket/Display.html?id=114712 + my ($v) = ( "snapshot-1.2.3ga-001-432" =~ /($version::LAX)/ ); + is $v, '1.2.3', "Extract just the version: $v"; + ($v) = ( "snapshot-1.2ga-001-432" =~ /($version::LAX)/ ); + is $v, '1.2', "Extract just the version: $v"; + ($v) = ( "snapshot-v1.2.3ga-001-432" =~ /($version::STRICT)/ ); + is $v, 'v1.2.3', "Extract just the version: $v"; + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/05sigdie.t new/version-0.9917/t/05sigdie.t --- old/version-0.9916/t/05sigdie.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/05sigdie.t 2016-05-29 13:50:12.000000000 +0200 @@ -14,7 +14,7 @@ } BEGIN { - use version 0.9916; + use version 0.9917; } pass "Didn't get caught by the wrong DIE handler, which is a good thing"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/06noop.t new/version-0.9917/t/06noop.t --- old/version-0.9916/t/06noop.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/06noop.t 2016-05-29 13:50:12.000000000 +0200 @@ -7,7 +7,7 @@ use Test::More qw/no_plan/; BEGIN { - use_ok('version', 0.9916); + use_ok('version', 0.9917); } my $v1 = version->new('1.2'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/07locale.t new/version-0.9917/t/07locale.t --- old/version-0.9916/t/07locale.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/07locale.t 2016-05-29 13:50:12.000000000 +0200 @@ -11,7 +11,7 @@ use Config; BEGIN { - use_ok('version', 0.9916); + use_ok('version', 0.9917); } SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/08_corelist.t new/version-0.9917/t/08_corelist.t --- old/version-0.9916/t/08_corelist.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/08_corelist.t 2016-05-29 13:50:12.000000000 +0200 @@ -5,7 +5,7 @@ ######################### use Test::More tests => 3; -use_ok("version", 0.9916); +use_ok("version", 0.9917); # do strict lax tests in a sub to isolate a package to test importing SKIP: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/t/09_list_util.t new/version-0.9917/t/09_list_util.t --- old/version-0.9916/t/09_list_util.t 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/t/09_list_util.t 2016-05-29 13:50:12.000000000 +0200 @@ -4,7 +4,7 @@ ######################### use strict; -use_ok("version", 0.9916); +use_ok("version", 0.9917); use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/vperl/vpp.pm new/version-0.9917/vperl/vpp.pm --- old/version-0.9916/vperl/vpp.pm 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/vperl/vpp.pm 2016-05-29 13:50:12.000000000 +0200 @@ -123,7 +123,7 @@ use Config; use vars qw($VERSION $CLASS @ISA $LAX $STRICT $WARN_CATEGORY); -$VERSION = 0.9916; +$VERSION = 0.9917; $CLASS = 'version::vpp'; if ($] > 5.015) { warnings::register_categories(qw/version/); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/version-0.9916/vutil/lib/version/vxs.pm new/version-0.9917/vutil/lib/version/vxs.pm --- old/version-0.9916/vutil/lib/version/vxs.pm 2016-03-19 03:13:50.000000000 +0100 +++ new/version-0.9917/vutil/lib/version/vxs.pm 2016-05-29 13:50:12.000000000 +0200 @@ -5,7 +5,7 @@ use strict; use vars qw(@ISA $VERSION $CLASS ); -$VERSION = 0.9916; +$VERSION = 0.9917; $CLASS = 'version::vxs'; eval {