Hello community, here is the log from the commit of package perl-App-CELL for openSUSE:Factory checked in at 2020-02-14 16:38:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-App-CELL (Old) and /work/SRC/openSUSE:Factory/.perl-App-CELL.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-App-CELL" Fri Feb 14 16:38:41 2020 rev:4 rq:774207 version:0.229 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-App-CELL/perl-App-CELL.changes 2020-02-11 22:25:42.915577759 +0100 +++ /work/SRC/openSUSE:Factory/.perl-App-CELL.new.26092/perl-App-CELL.changes 2020-02-14 16:38:49.895634464 +0100 @@ -1,0 +2,11 @@ +Thu Feb 13 03:07:11 UTC 2020 - <timueller+p...@suse.de> + +- updated to 0.229 + see /usr/share/doc/packages/perl-App-CELL/Changes + + + 0.229 2020-02-12 12:13 CET + - Qualify all calls to CORE::caller() + - t/034-status-dump.t: use Test::Output + +------------------------------------------------------------------- Old: ---- App-CELL-0.228.tar.gz New: ---- App-CELL-0.229.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-App-CELL.spec ++++++ --- /var/tmp/diff_new_pack.7yh31G/_old 2020-02-14 16:38:50.503634803 +0100 +++ /var/tmp/diff_new_pack.7yh31G/_new 2020-02-14 16:38:50.503634803 +0100 @@ -17,14 +17,15 @@ Name: perl-App-CELL -Version: 0.228 +Version: 0.229 Release: 0 %define cpan_name App-CELL Summary: Configuration, Error-handling, Localization, and Logging License: BSD-3-Clause Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/App-CELL/ -Source0: App-CELL-0.228.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/S/SM/SMITHFARM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -40,6 +41,7 @@ BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) BuildRequires: perl(Software::License) +BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Warnings) BuildRequires: perl(Try::Tiny) Requires: perl(Date::Format) @@ -57,14 +59,14 @@ Error-handling, Localization, and Logging framework for applications (or scripts) written in Perl. -For details, read the POD in the the App::CELL manpage distro. For an -introduction, read the App::CELL::Guide manpage. +For details, read the POD in the App::CELL distro. For an introduction, +read App::CELL::Guide. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check @@ -76,6 +78,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes config LICENSE README.rst WISHLIST +%doc Changes README.rst WISHLIST +%license LICENSE %changelog ++++++ App-CELL-0.228.tar.gz -> App-CELL-0.229.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/Build.PL new/App-CELL-0.229/Build.PL --- old/App-CELL-0.228/Build.PL 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/Build.PL 2020-02-12 12:13:39.000000000 +0100 @@ -25,6 +25,8 @@ 'File::Spec' => 0, 'File::Temp' => 0, 'Params::Validate' => 0, + 'Test::More' => 0, + 'Test::Output' => 0, 'Test::Warnings' => 0, 'Try::Tiny' => 0, }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/Changes new/App-CELL-0.229/Changes --- old/App-CELL-0.228/Changes 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/Changes 2020-02-12 12:13:39.000000000 +0100 @@ -902,3 +902,7 @@ - README.rst: mention "Check Manifest" tests explicitly - travis: try Perl 5.28 in addition to 5.24 +0.229 2020-02-12 12:13 CET +- Qualify all calls to CORE::caller() +- t/034-status-dump.t: use Test::Output + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/META.json new/App-CELL-0.229/META.json --- old/App-CELL-0.228/META.json 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/META.json 2020-02-12 12:13:39.000000000 +0100 @@ -21,6 +21,8 @@ "File::Temp" : "0", "Log::Any::Test" : "0", "Params::Validate" : "0", + "Test::More" : "0", + "Test::Output" : "0", "Test::Warnings" : "0", "Try::Tiny" : "0" } @@ -49,14 +51,14 @@ "provides" : { "App::CELL" : { "file" : "lib/App/CELL.pm", - "version" : "0.228" + "version" : "0.229" }, "App::CELL::Config" : { "file" : "lib/App/CELL/Config.pm" }, "App::CELL::Guide" : { "file" : "lib/App/CELL/Guide.pm", - "version" : "0.228" + "version" : "0.229" }, "App::CELL::Load" : { "file" : "lib/App/CELL/Load.pm" @@ -92,6 +94,6 @@ "url" : "https://github.com/smithfarm/cell" } }, - "version" : "0.228", + "version" : "0.229", "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/META.yml new/App-CELL-0.229/META.yml --- old/App-CELL-0.228/META.yml 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/META.yml 2020-02-12 12:13:39.000000000 +0100 @@ -8,6 +8,8 @@ File::Temp: '0' Log::Any::Test: '0' Params::Validate: '0' + Test::More: '0' + Test::Output: '0' Test::Warnings: '0' Try::Tiny: '0' configure_requires: @@ -24,12 +26,12 @@ provides: App::CELL: file: lib/App/CELL.pm - version: '0.228' + version: '0.229' App::CELL::Config: file: lib/App/CELL/Config.pm App::CELL::Guide: file: lib/App/CELL/Guide.pm - version: '0.228' + version: '0.229' App::CELL::Load: file: lib/App/CELL/Load.pm App::CELL::Log: @@ -58,5 +60,5 @@ bugtracker: https://github.com/smithfarm/cell/issues license: http://opensource.org/licenses/bsd-license.php repository: https://github.com/smithfarm/cell -version: '0.228' +version: '0.229' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL/Config.pm new/App-CELL-0.229/lib/App/CELL/Config.pm --- old/App-CELL-0.228/lib/App/CELL/Config.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL/Config.pm 2020-02-12 12:13:39.000000000 +0100 @@ -251,7 +251,7 @@ return App::CELL::Status->not_ok if not blessed $self; my %ARGS = ( level => 'OK', - caller => [ caller ], + caller => [ CORE::caller() ], ); if ( $self->{'CELL_CONFTYPE'} eq 'meta' ) { if ( exists $meta->{$param} ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL/Guide.pm new/App-CELL-0.229/lib/App/CELL/Guide.pm --- old/App-CELL-0.228/lib/App/CELL/Guide.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL/Guide.pm 2020-02-12 12:13:39.000000000 +0100 @@ -46,11 +46,11 @@ =head1 VERSION -Version 0.228 +Version 0.229 =cut -our $VERSION = '0.228'; +our $VERSION = '0.229'; @@ -523,7 +523,7 @@ App::CELL::Status->new( level => 'ERR', code => 'CODE1', args => [ 'foo', 'bar' ], - caller => [ caller ], + caller => [ CORE::caller() ], ); It is also possible to pass a message object in lieu of C<code> and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL/Load.pm new/App-CELL-0.229/lib/App/CELL/Load.pm --- old/App-CELL-0.228/lib/App/CELL/Load.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL/Load.pm 2020-02-12 12:13:39.000000000 +0100 @@ -268,7 +268,7 @@ level => 'WARN', code => 'CELL_DIR_WALKED_NOTHING_FOUND', args => [ $what, $dir_desc, $dir_path, $quantfiles ], - caller => [ caller ], + caller => [ CORE::caller() ], cell => 1, ); } @@ -278,7 +278,7 @@ level => 'INFO', code => 'CELL_DIR_WALKED_ITEMS_LOADED', args => [ $quantitems, $what, $quantfiles, $dir_desc, $dir_path ], - caller => [ caller ], + caller => [ CORE::caller() ], cell => 1, ) if ( $dir_desc eq 'sitedir' ) or ( $dir_desc eq 'sharedir' and $meta->CELL_META_LOAD_VERBOSE ); return $return_status; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL/Message.pm new/App-CELL-0.229/lib/App/CELL/Message.pm --- old/App-CELL-0.228/lib/App/CELL/Message.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL/Message.pm 2020-02-12 12:13:39.000000000 +0100 @@ -210,7 +210,7 @@ if ( $ARGS{called_from_status} ) { $my_caller = $ARGS{caller}; } else { - $my_caller = [ caller ]; + $my_caller = [ CORE::caller() ]; } if ( not exists( $ARGS{'code'} ) ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL/Status.pm new/App-CELL-0.229/lib/App/CELL/Status.pm --- old/App-CELL-0.228/lib/App/CELL/Status.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL/Status.pm 2020-02-12 12:13:39.000000000 +0100 @@ -136,7 +136,7 @@ # if caller array not given, create it if ( not $ARGS{caller} ) { - $ARGS{caller} = [ caller ]; + $ARGS{caller} = [ CORE::caller() ]; } $ARGS{args} = [] if not defined( $ARGS{args} ); @@ -277,7 +277,7 @@ } $ARGS->{level} = 'OK'; $ARGS->{payload} = $payload if $payload; - $ARGS->{caller} = [ caller ]; + $ARGS->{caller} = [ CORE::caller() ]; return bless $ARGS, __PACKAGE__; } @@ -306,7 +306,7 @@ } $ARGS->{level} = 'NOT_OK'; $ARGS->{payload} = $payload if $payload; - $ARGS->{caller} = [ caller ]; + $ARGS->{caller} = [ CORE::caller() ]; return bless $ARGS, __PACKAGE__; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/lib/App/CELL.pm new/App-CELL-0.229/lib/App/CELL.pm --- old/App-CELL-0.228/lib/App/CELL.pm 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/lib/App/CELL.pm 2020-02-12 12:13:39.000000000 +0100 @@ -54,11 +54,11 @@ =head1 VERSION -Version 0.228 +Version 0.229 =cut -our $VERSION = '0.228'; +our $VERSION = '0.229'; @@ -328,7 +328,7 @@ return App::CELL::Status->new( level => $level_uc, code => $code, - caller => [ caller ], + caller => [ CORE::caller() ], %ARGS, ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/App-CELL-0.228/t/034-status-dump.t new/App-CELL-0.229/t/034-status-dump.t --- old/App-CELL-0.228/t/034-status-dump.t 2020-02-11 19:36:45.000000000 +0100 +++ new/App-CELL-0.229/t/034-status-dump.t 2020-02-12 12:13:39.000000000 +0100 @@ -5,6 +5,7 @@ use App::CELL qw( $CELL $log ); use Data::Dumper; use Test::More; +use Test::Output; use Test::Warnings; # @@ -35,7 +36,7 @@ $status->dump( 'to' => 'log' ); my $dumped_string = $status->dump(); is( $dumped_string, "WARN: (CELL_TEST_MESSAGE) This is a test message", "Message without args logged correctly to string" ); -$status->dump( fd => \*STDOUT ); +stdout_is { $status->dump( fd => \*STDOUT ) } "WARN: (CELL_TEST_MESSAGE) This is a test message\n", "Message without args printed correctly to STDOUT"; $log->info("*****"); $log->info("***** TESTING \$status->dump with args" ); @@ -44,6 +45,6 @@ $status->dump( 'to' => 'log' ); $dumped_string = $status->dump(); is( $dumped_string, "WARN: (CELL_UNKNOWN_MESSAGE_CODE) Unknown system message ->bad news bears<-", "Message with args logged correctly to string" ); -$status->dump( fd => \*STDOUT ); +stdout_is { $status->dump( fd => \*STDOUT ) } "WARN: (CELL_UNKNOWN_MESSAGE_CODE) Unknown system message ->bad news bears<-\n", "Message with args printed correctly to STDOUT"; done_testing; ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #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_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module