Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Test-Script for openSUSE:Factory checked in at 2021-02-18 20:41:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Script (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Script.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Script" Thu Feb 18 20:41:21 2021 rev:29 rq:873334 version:1.27 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Script/perl-Test-Script.changes 2019-10-28 17:00:23.857760117 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Test-Script.new.28504/perl-Test-Script.changes 2021-02-18 20:53:09.847481818 +0100 @@ -1,0 +2,9 @@ +Thu Feb 18 03:09:01 UTC 2021 - Tina M??ller <timueller+p...@suse.de> + +- updated to 1.27 + see /usr/share/doc/packages/perl-Test-Script/Changes + + 1.27 2021-02-17 13:15:57 -0700 + - Documentation improvements (RRWO++ gh#31, gh#30) + +------------------------------------------------------------------- Old: ---- Test-Script-1.26.tar.gz New: ---- Test-Script-1.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Script.spec ++++++ --- /var/tmp/diff_new_pack.M1qzkF/_old 2021-02-18 20:53:10.447482381 +0100 +++ /var/tmp/diff_new_pack.M1qzkF/_new 2021-02-18 20:53:10.451482384 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Script # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # +%define cpan_name Test-Script Name: perl-Test-Script -Version: 1.26 +Version: 1.27 Release: 0 -%define cpan_name Test-Script Summary: Basic cross-platform tests for scripts License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Capture::Tiny) @@ -62,12 +60,11 @@ platform safety, this module will err on the side of platform safety. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -78,7 +75,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc author.yml Changes README %license LICENSE ++++++ Test-Script-1.26.tar.gz -> Test-Script-1.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/Changes new/Test-Script-1.27/Changes --- old/Test-Script-1.26/Changes 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/Changes 2021-02-17 21:16:00.000000000 +0100 @@ -1,5 +1,8 @@ Revision history for Perl extension Test-Script +1.27 2021-02-17 13:15:57 -0700 + - Documentation improvements (RRWO++ gh#31, gh#30) + 1.26 2019-10-25 21:22:03 -0700 - Add program_runs and related functions for testing programs that do not run under Perl (gh#26, gh#27) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/MANIFEST new/Test-Script-1.27/MANIFEST --- old/Test-Script-1.26/MANIFEST 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/MANIFEST 2021-02-17 21:16:00.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. Changes INSTALL LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/META.json new/Test-Script-1.27/META.json --- old/Test-Script-1.26/META.json 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/META.json 2021-02-17 21:16:00.000000000 +0100 @@ -5,7 +5,7 @@ "Adam Kennedy" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -56,7 +56,7 @@ "provides" : { "Test::Script" : { "file" : "lib/Test/Script.pm", - "version" : "1.26" + "version" : "1.27" } }, "release_status" : "stable", @@ -71,15 +71,16 @@ "web" : "https://github.com/plicease/Test-Script" } }, - "version" : "1.26", + "version" : "1.27", "x_contributors" : [ "Adam Kennedy", "Graham Ollis <plice...@cpan.org>", "Brendan Byrd", "Chris White <c...@cpan.org>" ], - "x_generated_by_perl" : "v5.28.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.12", + "x_generated_by_perl" : "v5.33.6", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", "x_use_unsafe_inc" : 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/META.yml new/Test-Script-1.27/META.yml --- old/Test-Script-1.26/META.yml 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/META.yml 2021-02-17 21:16:00.000000000 +0100 @@ -10,7 +10,7 @@ ExtUtils::MakeMaker: '0' perl: '5.008001' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -19,7 +19,7 @@ provides: Test::Script: file: lib/Test/Script.pm - version: '1.26' + version: '1.27' requires: Capture::Tiny: '0' File::Spec: '0.80' @@ -32,12 +32,13 @@ bugtracker: https://github.com/plicease/Test-Script/issues homepage: https://metacpan.org/pod/Test::Script repository: git://github.com/plicease/Test-Script.git -version: '1.26' +version: '1.27' x_contributors: - 'Adam Kennedy' - 'Graham Ollis <plice...@cpan.org>' - 'Brendan Byrd' - 'Chris White <c...@cpan.org>' -x_generated_by_perl: v5.28.1 +x_generated_by_perl: v5.33.6 x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' x_use_unsafe_inc: 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/Makefile.PL new/Test-Script-1.27/Makefile.PL --- old/Test-Script-1.26/Makefile.PL 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/Makefile.PL 2021-02-17 21:16:00.000000000 +0100 @@ -5,7 +5,7 @@ exit; } } -# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.38. +# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.59. use strict; use warnings; use 5.008001; @@ -35,7 +35,7 @@ "TEST_REQUIRES" => { "Test2::V0" => "0.000060" }, - "VERSION" => "1.26", + "VERSION" => "1.27", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/README new/Test-Script-1.27/README --- old/Test-Script-1.26/README 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/README 2021-02-17 21:16:00.000000000 +0100 @@ -4,7 +4,7 @@ VERSION - version 1.26 + version 1.27 SYNOPSIS @@ -59,6 +59,8 @@ is running the test script (and not with the default system perl). This will also be shown in the diagnostic output on failure. + This function was added in version 1.05. + script_runs script_runs( $script, $test_name ); @@ -77,7 +79,10 @@ test script (and not with the default system perl). This will also be shown in the diagnostic output on failure. - You may pass in options as a hash as the second argument. + This function was added in version 1.05. + + You may pass in options as a hash as the second argument (as of version + 1.09). exit @@ -90,6 +95,8 @@ Things like -w or -x can be passed this way. This may be either a single string or an array reference. + This option was added in version 1.25. + signal The expected signal. The default is 0. Use with care! This may not be @@ -142,6 +149,8 @@ Tests if the output to stdout from the previous "script_runs" matches the expected value exactly. + This function was added in version 1.09. + script_stdout_isnt script_stdout_is $expected_stdout, $test_name; @@ -149,6 +158,8 @@ Tests if the output to stdout from the previous "script_runs" does NOT match the expected value exactly. + This function was added in version 1.09. + script_stdout_like script_stdout_like $regex, $test_name; @@ -156,6 +167,8 @@ Tests if the output to stdout from the previous "script_runs" matches the regular expression. + This function was added in version 1.09. + script_stdout_unlike script_stdout_unlike $regex, $test_name; @@ -163,6 +176,8 @@ Tests if the output to stdout from the previous "script_runs" does NOT match the regular expression. + This function was added in version 1.09. + script_stderr_is script_stderr_is $expected_stderr, $test_name; @@ -170,6 +185,8 @@ Tests if the output to stderr from the previous "script_runs" matches the expected value exactly. + This function was added in version 1.09. + script_stderr_isnt script_stderr_is $expected_stderr, $test_name; @@ -177,6 +194,8 @@ Tests if the output to stderr from the previous "script_runs" does NOT match the expected value exactly. + This function was added in version 1.09. + script_stderr_like script_stderr_like $regex, $test_name; @@ -184,6 +203,8 @@ Tests if the output to stderr from the previous "script_runs" matches the regular expression. + This function was added in version 1.09. + script_stderr_unlike script_stderr_unlike $regex, $test_name; @@ -191,6 +212,8 @@ Tests if the output to stderr from the previous "script_runs" does NOT match the regular expression. + This function was added in version 1.09. + program_runs program_runs( $program, $test_name ); @@ -210,6 +233,8 @@ See File::Spec or Path::Class for routines useful in building pathnames in a cross-platform way. + This function was added in version 1.26. + program_stdout_is program_stdout_is $expected_stdout, $test_name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/dist.ini new/Test-Script-1.27/dist.ini --- old/Test-Script-1.26/dist.ini 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/dist.ini 2021-02-17 21:16:00.000000000 +0100 @@ -4,13 +4,16 @@ license = Perl_5 copyright_holder = Adam Kennedy copyright_year = 2019 -version = 1.26 +version = 1.27 [@Author::Plicease] -:version = 2.28 +:version = 2.44 travis_status = 1 release_tests = 1 test2_v0 = 1 +travis_com = 1 +workflow = windows +workflow = macos [RemovePrereqs] remove = strict diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/lib/Test/Script.pm new/Test-Script-1.27/lib/Test/Script.pm --- old/Test-Script-1.26/lib/Test/Script.pm 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/lib/Test/Script.pm 2021-02-17 21:16:00.000000000 +0100 @@ -1,7 +1,7 @@ package Test::Script; # ABSTRACT: Basic cross-platform tests for scripts -our $VERSION = '1.26'; # VERSION +our $VERSION = '1.27'; # VERSION use 5.008001; @@ -480,7 +480,7 @@ =head1 VERSION -version 1.26 +version 1.27 =head1 SYNOPSIS @@ -534,6 +534,8 @@ is running the test script (and not with the default system perl). This will also be shown in the diagnostic output on failure. +This function was added in version 1.05. + =head2 script_runs script_runs( $script, $test_name ); @@ -552,7 +554,9 @@ test script (and not with the default system perl). This will also be shown in the diagnostic output on failure. -You may pass in options as a hash as the second argument. +This function was added in version 1.05. + +You may pass in options as a hash as the second argument (as of version 1.09). =over 4 @@ -567,6 +571,8 @@ like C<-w> or C<-x> can be passed this way. This may be either a single string or an array reference. +This option was added in version 1.25. + =item signal The expected signal. The default is 0. Use with care! This may not be @@ -626,6 +632,8 @@ Tests if the output to stdout from the previous L</script_runs> matches the expected value exactly. +This function was added in version 1.09. + =head2 script_stdout_isnt script_stdout_is $expected_stdout, $test_name; @@ -633,6 +641,8 @@ Tests if the output to stdout from the previous L</script_runs> does NOT match the expected value exactly. +This function was added in version 1.09. + =head2 script_stdout_like script_stdout_like $regex, $test_name; @@ -640,6 +650,8 @@ Tests if the output to stdout from the previous L</script_runs> matches the regular expression. +This function was added in version 1.09. + =head2 script_stdout_unlike script_stdout_unlike $regex, $test_name; @@ -647,6 +659,8 @@ Tests if the output to stdout from the previous L</script_runs> does NOT match the regular expression. +This function was added in version 1.09. + =head2 script_stderr_is script_stderr_is $expected_stderr, $test_name; @@ -654,6 +668,8 @@ Tests if the output to stderr from the previous L</script_runs> matches the expected value exactly. +This function was added in version 1.09. + =head2 script_stderr_isnt script_stderr_is $expected_stderr, $test_name; @@ -661,6 +677,8 @@ Tests if the output to stderr from the previous L</script_runs> does NOT match the expected value exactly. +This function was added in version 1.09. + =head2 script_stderr_like script_stderr_like $regex, $test_name; @@ -668,6 +686,8 @@ Tests if the output to stderr from the previous L</script_runs> matches the regular expression. +This function was added in version 1.09. + =head2 script_stderr_unlike script_stderr_unlike $regex, $test_name; @@ -675,6 +695,8 @@ Tests if the output to stderr from the previous L</script_runs> does NOT match the regular expression. +This function was added in version 1.09. + =head2 program_runs program_runs( $program, $test_name ); @@ -702,6 +724,8 @@ See L<File::Spec> or L<Path::Class> for routines useful in building pathnames in a cross-platform way. +This function was added in version 1.26. + =head2 program_stdout_is program_stdout_is $expected_stdout, $test_name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/t/00_diag.t new/Test-Script-1.27/t/00_diag.t --- old/Test-Script-1.26/t/00_diag.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/t/00_diag.t 2021-02-17 21:16:00.000000000 +0100 @@ -62,7 +62,7 @@ spacer; } -diag sprintf $format, 'perl ', $]; +diag sprintf $format, 'perl', "$] $^O $Config{archname}"; foreach my $module (sort @modules) { @@ -89,3 +89,4 @@ spacer; done_testing; + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/eol.t new/Test-Script-1.27/xt/author/eol.t --- old/Test-Script-1.26/xt/author/eol.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/eol.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::EOL' +BEGIN { + plan skip_all => 'test requires Test::EOL' unless eval q{ use Test::EOL; 1 }; }; use Test::EOL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/no_tabs.t new/Test-Script-1.27/xt/author/no_tabs.t --- old/Test-Script-1.26/xt/author/no_tabs.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/no_tabs.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::NoTabs' +BEGIN { + plan skip_all => 'test requires Test::NoTabs' unless eval q{ use Test::NoTabs; 1 }; }; use Test::NoTabs; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/pod.t new/Test-Script-1.27/xt/author/pod.t --- old/Test-Script-1.26/xt/author/pod.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/pod.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::Pod' +BEGIN { + plan skip_all => 'test requires Test::Pod' unless eval q{ use Test::Pod; 1 }; }; use Test::Pod; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/pod_coverage.t new/Test-Script-1.27/xt/author/pod_coverage.t --- old/Test-Script-1.26/xt/author/pod_coverage.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/pod_coverage.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,10 +1,10 @@ use strict; use warnings; use Test::More; -BEGIN { +BEGIN { plan skip_all => 'test requires 5.010 or better' unless $] >= 5.010; - plan skip_all => 'test requires Test::Pod::Coverage' + plan skip_all => 'test requires Test::Pod::Coverage' unless eval q{ use Test::Pod::Coverage; 1 }; plan skip_all => 'test requires YAML' unless eval q{ use YAML; 1; }; @@ -64,12 +64,12 @@ SKIP: { my($is_private_class) = map { 1 } grep { $class =~ $_->{regex} && $_->{all} } @private_classes; skip "private class: $class", 1 if $is_private_class; - + my %methods = map {; $_ => 1 } map { split /,/, $_->{method} } grep { $class =~ $_->{regex} } @private_classes; $methods{$_} = 1 for keys %private_methods; - + my $also_private = eval 'qr{^' . join('|', keys %methods ) . '$}'; - + pod_coverage_ok $class, { also_private => [$also_private] }; }; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/pod_spelling_common.t new/Test-Script-1.27/xt/author/pod_spelling_common.t --- old/Test-Script-1.26/xt/author/pod_spelling_common.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/pod_spelling_common.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::Pod::Spelling::CommonMistakes' +BEGIN { + plan skip_all => 'test requires Test::Pod::Spelling::CommonMistakes' unless eval q{ use Test::Pod::Spelling::CommonMistakes; 1 }; plan skip_all => 'test requires YAML' unless eval q{ use YAML qw( LoadFile ); 1 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/pod_spelling_system.t new/Test-Script-1.27/xt/author/pod_spelling_system.t --- old/Test-Script-1.26/xt/author/pod_spelling_system.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/pod_spelling_system.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::Spelling' +BEGIN { + plan skip_all => 'test requires Test::Spelling' unless eval q{ use Test::Spelling; 1 }; plan skip_all => 'test requires YAML' unless eval q{ use YAML; 1; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/author/version.t new/Test-Script-1.27/xt/author/version.t --- old/Test-Script-1.26/xt/author/version.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/author/version.t 2021-02-17 21:16:00.000000000 +0100 @@ -6,10 +6,10 @@ plan skip_all => "test requires Test::Version 2.00" unless eval q{ - use Test::Version 2.00 qw( version_all_ok ), { + use Test::Version 2.00 qw( version_all_ok ), { has_version => 1, filename_match => sub { $_[0] !~ m{/(ConfigData|Install/Files)\.pm$} }, - }; + }; 1 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Script-1.26/xt/release/fixme.t new/Test-Script-1.27/xt/release/fixme.t --- old/Test-Script-1.26/xt/release/fixme.t 2019-10-26 06:22:06.000000000 +0200 +++ new/Test-Script-1.27/xt/release/fixme.t 2021-02-17 21:16:00.000000000 +0100 @@ -1,8 +1,8 @@ use strict; use warnings; use Test::More; -BEGIN { - plan skip_all => 'test requires Test::Fixme' +BEGIN { + plan skip_all => 'test requires Test::Fixme' unless eval q{ use Test::Fixme 0.14; 1 }; }; use Test::Fixme 0.07;