Hello community, here is the log from the commit of package perl-Class-MethodMaker for openSUSE:Factory checked in at 2015-04-15 16:22:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Class-MethodMaker (Old) and /work/SRC/openSUSE:Factory/.perl-Class-MethodMaker.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-MethodMaker" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Class-MethodMaker/perl-Class-MethodMaker.changes 2014-02-11 10:43:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Class-MethodMaker.new/perl-Class-MethodMaker.changes 2015-04-15 16:22:18.000000000 +0200 @@ -1,0 +2,22 @@ +Mon Apr 13 18:17:11 UTC 2015 - co...@suse.com + +- updated to 2.24 + see /usr/share/doc/packages/perl-Class-MethodMaker/Changes + + 2.24 Mar 31 2015 + - fix missing OUTPUT section - RT#103113 (Zefram) + + 2.23 Mar 05 2015 + - Use strict and warnings everywhere (Neil Bowers) + - renamed CommonMethods.pm to CommonMethods.pmt, as it's a + template for module code. CPANTS was assuming it's a module + from the name, and failing it (Neil Bowers) + + 2.22 Jan 14 2015 + - use File::Temp::tmpnam as needed in Android (Brian Fraser) + + 2.21 Mar 16 2014 + - sync with Debian patches - RT#91658 + - fix copyright and license entries - RT#43463 + +------------------------------------------------------------------- Old: ---- Class-MethodMaker-2.20.tar.gz New: ---- Class-MethodMaker-2.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Class-MethodMaker.spec ++++++ --- /var/tmp/diff_new_pack.hEFseO/_old 2015-04-15 16:22:18.000000000 +0200 +++ /var/tmp/diff_new_pack.hEFseO/_new 2015-04-15 16:22:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Class-MethodMaker # -# Copyright (c) 2014 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,7 +17,7 @@ Name: perl-Class-MethodMaker -Version: 2.20 +Version: 2.24 Release: 0 %define cpan_name Class-MethodMaker Summary: Create generic methods for OO Perl ++++++ Class-MethodMaker-2.20.tar.gz -> Class-MethodMaker-2.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/Changes new/Class-MethodMaker-2.24/Changes --- old/Class-MethodMaker-2.20/Changes 2014-02-03 22:17:08.000000000 +0100 +++ new/Class-MethodMaker-2.24/Changes 2015-03-31 17:49:31.000000000 +0200 @@ -1,5 +1,21 @@ Revision History for Class::MethodMaker (versions 2) +2.24 Mar 31 2015 + - fix missing OUTPUT section - RT#103113 (Zefram) + +2.23 Mar 05 2015 + - Use strict and warnings everywhere (Neil Bowers) + - renamed CommonMethods.pm to CommonMethods.pmt, as it's a + template for module code. CPANTS was assuming it's a module + from the name, and failing it (Neil Bowers) + +2.22 Jan 14 2015 + - use File::Temp::tmpnam as needed in Android (Brian Fraser) + +2.21 Mar 16 2014 + - sync with Debian patches - RT#91658 + - fix copyright and license entries - RT#43463 + 2.20 Feb 03 2014 - drop t/v1*.t unit tests due to license issue https://github.com/renormalist/class-methodmaker/issues/2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/Generate.pm new/Class-MethodMaker-2.24/Generate.pm --- old/Class-MethodMaker-2.20/Generate.pm 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/Generate.pm 2015-02-28 08:56:20.000000000 +0100 @@ -1,5 +1,9 @@ package Generate; +use 5.006; +use strict; +use warnings; + use File::Spec::Functions qw( catfile ); use File::Basename qw( basename ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/MANIFEST new/Class-MethodMaker-2.24/MANIFEST --- old/Class-MethodMaker-2.20/MANIFEST 2014-02-03 22:21:30.000000000 +0100 +++ new/Class-MethodMaker-2.24/MANIFEST 2015-03-31 17:53:01.000000000 +0200 @@ -2,7 +2,7 @@ Changes cmmg.pl components/array.m -components/CommonMethods.pm +components/CommonMethods.pmt components/hash.m components/scalar.m configure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/META.json new/Class-MethodMaker-2.24/META.json --- old/Class-MethodMaker-2.20/META.json 2014-02-03 22:21:30.000000000 +0100 +++ new/Class-MethodMaker-2.24/META.json 2015-03-31 17:53:01.000000000 +0200 @@ -4,7 +4,7 @@ "Martyn J. Pearce" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.130880", + "generated_by" : "ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 2.143240", "license" : [ "perl_5" ], @@ -42,5 +42,5 @@ "url" : "git://github.com/renormalist/class-methodmaker.git" } }, - "version" : "2.20" + "version" : "2.24" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/META.yml new/Class-MethodMaker-2.24/META.yml --- old/Class-MethodMaker-2.20/META.yml 2014-02-03 22:21:30.000000000 +0100 +++ new/Class-MethodMaker-2.24/META.yml 2015-03-31 17:53:01.000000000 +0200 @@ -3,22 +3,22 @@ author: - 'Martyn J. Pearce' 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.66, CPAN::Meta::Converter version 2.130880' +generated_by: 'ExtUtils::MakeMaker version 6.9, 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: Class-MethodMaker no_index: directory: - t - inc requires: - perl: 5.006 + perl: '5.006' resources: repository: git://github.com/renormalist/class-methodmaker.git -version: 2.20 +version: '2.24' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/Makefile.PL new/Class-MethodMaker-2.24/Makefile.PL --- old/Class-MethodMaker-2.20/Makefile.PL 2014-02-03 22:17:55.000000000 +0100 +++ new/Class-MethodMaker-2.24/Makefile.PL 2015-03-31 17:51:11.000000000 +0200 @@ -47,7 +47,7 @@ my %MakefileArgs = ( NAME => 'Class::MethodMaker', DISTNAME => 'Class-MethodMaker', - VERSION => '2.20', + VERSION => '2.24', AUTHOR => 'Martyn J. Pearce', LICENSE => 'perl', ABSTRACT => 'a module for creating generic methods', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/MethodMaker.xs new/Class-MethodMaker-2.24/MethodMaker.xs --- old/Class-MethodMaker-2.20/MethodMaker.xs 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/MethodMaker.xs 2015-03-31 17:42:41.000000000 +0200 @@ -26,3 +26,5 @@ GvNAMELEN(CvGV((GV*)SvRV(sub))) = strlen(subname); #endif RETVAL = 1; + OUTPUT: + RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/README new/Class-MethodMaker-2.24/README --- old/Class-MethodMaker-2.20/README 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/README 2014-03-16 17:11:07.000000000 +0100 @@ -47,9 +47,11 @@ Copyright: - Copyright (c) 2004, 2003, 2002, 2001, 2000 Martyn J. Pearce. This program - is free software; you can redistribute it and/or modify it under the same - terms as Perl itself. + Copyright (c) 2014, 2013, 2012, 2010, 2009, 2008, 2004, 2003, + 2002, 2001, 2000 Martyn J. Pearce and others. + + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. Copyright (c) 1996 Organic Online. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/cmmg.pl new/Class-MethodMaker-2.24/cmmg.pl --- old/Class-MethodMaker-2.20/cmmg.pl 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/cmmg.pl 2015-02-28 08:56:20.000000000 +0100 @@ -143,7 +143,7 @@ $t = $import{$fn}; } else { $t = $import{$fn} = - read_file(catfile COMP_DIR, "${fn}.pm"); + read_file(catfile COMP_DIR, "${fn}.pmt"); } $t =~ s!^!$i!mg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/components/CommonMethods.pm new/Class-MethodMaker-2.24/components/CommonMethods.pm --- old/Class-MethodMaker-2.20/components/CommonMethods.pm 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/components/CommonMethods.pm 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -'INTEGER:*_incr' => sub { - my $x = $names{'*'}; - my $incr = @_ > 1 ? $_[1] : 1; - $_[0]->$x($_[0]->$x()+$incr); - }, - -'INTEGER:*_decr' => sub { - my $x = $names{'*'}; - my $decr = @_ > 1 ? $_[1] : 1; - $_[0]->$x($_[0]->$x()-$decr); - }, - -'INTEGER:*_zero' => sub { - my $x = $names{'*'}; - $_[0]->$x(0); - }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/components/CommonMethods.pmt new/Class-MethodMaker-2.24/components/CommonMethods.pmt --- old/Class-MethodMaker-2.20/components/CommonMethods.pmt 1970-01-01 01:00:00.000000000 +0100 +++ new/Class-MethodMaker-2.24/components/CommonMethods.pmt 2015-02-28 08:56:20.000000000 +0100 @@ -0,0 +1,17 @@ + +'INTEGER:*_incr' => sub { + my $x = $names{'*'}; + my $incr = @_ > 1 ? $_[1] : 1; + $_[0]->$x($_[0]->$x()+$incr); + }, + +'INTEGER:*_decr' => sub { + my $x = $names{'*'}; + my $decr = @_ > 1 ? $_[1] : 1; + $_[0]->$x($_[0]->$x()-$decr); + }, + +'INTEGER:*_zero' => sub { + my $x = $names{'*'}; + $_[0]->$x(0); + }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/lib/Class/MethodMaker/Constants.pm new/Class-MethodMaker-2.24/lib/Class/MethodMaker/Constants.pm --- old/Class-MethodMaker-2.20/lib/Class/MethodMaker/Constants.pm 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/lib/Class/MethodMaker/Constants.pm 2014-03-16 15:25:09.000000000 +0100 @@ -4,7 +4,7 @@ =head1 NAME -Class::MethodMaker::Constants +Class::MethodMaker::Constants - The Constants Class for Class::MethodMaker =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/lib/Class/MethodMaker/Engine.pm new/Class-MethodMaker-2.24/lib/Class/MethodMaker/Engine.pm --- old/Class-MethodMaker-2.20/lib/Class/MethodMaker/Engine.pm 2014-02-03 22:18:40.000000000 +0100 +++ new/Class-MethodMaker-2.24/lib/Class/MethodMaker/Engine.pm 2015-03-31 17:50:31.000000000 +0200 @@ -57,7 +57,7 @@ # ------------------------------------- our $PACKAGE = 'Class-MethodMaker'; -our $VERSION = '2.20'; +our $VERSION = '2.24'; # ------------------------------------- # CLASS CONSTRUCTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/lib/Class/MethodMaker.pm new/Class-MethodMaker-2.24/lib/Class/MethodMaker.pm --- old/Class-MethodMaker-2.20/lib/Class/MethodMaker.pm 2014-02-03 22:18:05.000000000 +0100 +++ new/Class-MethodMaker-2.24/lib/Class/MethodMaker.pm 2015-03-31 17:50:31.000000000 +0200 @@ -2,18 +2,22 @@ package Class::MethodMaker; +use strict; +use warnings; + use Class::MethodMaker::Constants qw( ); use Class::MethodMaker::Engine qw(); # Make this line self-contained so MakeMaker can eval() it. -our $VERSION = '2.20'; +our $VERSION = '2.24'; our $PACKAGE = 'Class-MethodMaker'; +our $AUTOLOAD; use XSLoader qw(); XSLoader::load 'Class::MethodMaker', $VERSION; sub AUTOLOAD { - ($x = $AUTOLOAD) =~ s/^Class::MethodMaker/Class::MethodMaker::Engine/; + (my $x = $AUTOLOAD) =~ s/^Class::MethodMaker/Class::MethodMaker::Engine/; goto &$x(@_); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-MethodMaker-2.20/t/test.pm new/Class-MethodMaker-2.24/t/test.pm --- old/Class-MethodMaker-2.20/t/test.pm 2012-03-30 18:38:02.000000000 +0200 +++ new/Class-MethodMaker-2.24/t/test.pm 2015-02-28 08:56:20.000000000 +0100 @@ -2,6 +2,9 @@ package test; +use strict; +use warnings; + =head1 NAME test - tools for helping in test suites (not including running externalprograms). @@ -140,6 +143,8 @@ use POSIX 1.02 qw( ); use Test 1.122 qw( ok skip ); +use File::Temp; + # ---------------------------------------------------------------------------- sub rel2abs { @@ -395,7 +400,7 @@ my $tmpfh = do { local *F; *F; }; my $savefh = do { local *F; *F; }; - my $tmpnam = POSIX::tmpnam; + my $tmpnam = File::Temp::tmpnam(); sysopen $tmpfh, $tmpnam, O_RDWR | O_CREAT | O_EXCL; unlink $tmpnam; select((select($tmpfh), $| = 1)[0]); @@ -523,7 +528,7 @@ }; *tmpnam = sub { - my $tmpnam = POSIX::tmpnam; + my $tmpnam = File::Temp::tmpnam(); if (@_) { push @tmpfns, [ $tmpnam, $_[0] ]; @@ -584,7 +589,7 @@ my @tmpdirs; sub tempdir { - my $tempdir = POSIX::tmpnam; + my $tempdir = File::Temp::tmpnam(); mkdir $tempdir, 0700 or die "Failed to create temporary directory $tempdir: $!\n";