Hello community, here is the log from the commit of package perl-Capture-Tiny for openSUSE:Factory checked in at 2017-03-03 14:34:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Capture-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Capture-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Capture-Tiny" Fri Mar 3 14:34:27 2017 rev:25 rq:460881 version:0.46 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Capture-Tiny/perl-Capture-Tiny.changes 2016-08-12 15:37:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Capture-Tiny.new/perl-Capture-Tiny.changes 2017-03-03 14:34:28.418979644 +0100 @@ -1,0 +2,16 @@ +Sun Feb 26 06:10:18 UTC 2017 - co...@suse.com + +- updated to 0.46 + see /usr/share/doc/packages/perl-Capture-Tiny/Changes + + 0.46 2017-02-25 14:19:22-05:00 America/New_York + + - No changes from 0.45-TRIAL + + 0.45 2017-02-23 13:22:43-05:00 America/New_York (TRIAL RELEASE) + + [Internal] + + - Avoid variable shadowing to improve debuggability. + +------------------------------------------------------------------- Old: ---- Capture-Tiny-0.44.tar.gz New: ---- Capture-Tiny-0.46.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Capture-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.Ebsxk9/_old 2017-03-03 14:34:28.938906038 +0100 +++ /var/tmp/diff_new_pack.Ebsxk9/_new 2017-03-03 14:34:28.942905472 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Capture-Tiny # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,14 +17,14 @@ Name: perl-Capture-Tiny -Version: 0.44 +Version: 0.46 Release: 0 %define cpan_name Capture-Tiny Summary: Capture STDOUT and STDERR from Perl, XS or external programs License: Apache-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Capture-Tiny/ -Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,6 +57,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING.mkdn examples LICENSE README Todo +%doc Changes CONTRIBUTING.mkdn examples README Todo +%license LICENSE %changelog ++++++ Capture-Tiny-0.44.tar.gz -> Capture-Tiny-0.46.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/Changes new/Capture-Tiny-0.46/Changes --- old/Capture-Tiny-0.44/Changes 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/Changes 2017-02-25 20:19:33.000000000 +0100 @@ -1,5 +1,15 @@ Revision history for Capture-Tiny +0.46 2017-02-25 14:19:22-05:00 America/New_York + + - No changes from 0.45-TRIAL + +0.45 2017-02-23 13:22:43-05:00 America/New_York (TRIAL RELEASE) + + [Internal] + + - Avoid variable shadowing to improve debuggability. + 0.44 2016-08-05 13:40:33-04:00 America/New_York [Docs] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/MANIFEST new/Capture-Tiny-0.46/MANIFEST --- old/Capture-Tiny-0.44/MANIFEST 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/MANIFEST 2017-02-25 20:19:33.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.006. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. CONTRIBUTING.mkdn Changes LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/META.json new/Capture-Tiny-0.46/META.json --- old/Capture-Tiny-0.44/META.json 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/META.json 2017-02-25 20:19:33.000000000 +0100 @@ -4,7 +4,7 @@ "David Golden <dagol...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "Dist::Zilla version 6.006, CPAN::Meta::Converter version 2.150009", + "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010", "license" : [ "apache_2_0" ], @@ -35,6 +35,7 @@ "Dist::Zilla" : "5", "Dist::Zilla::Plugin::OSPrereqs" : "0", "Dist::Zilla::Plugin::Prereqs" : "0", + "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" : "0", "Dist::Zilla::Plugin::RemovePrereqs" : "0", "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072", "English" : "0", @@ -46,6 +47,7 @@ "Pod::Wordlist" : "0", "Software::License::Apache_2_0" : "0", "Test::CPAN::Meta" : "0", + "Test::MinimumVersion" : "0", "Test::More" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", @@ -84,7 +86,7 @@ "provides" : { "Capture::Tiny" : { "file" : "lib/Capture/Tiny.pm", - "version" : "0.44" + "version" : "0.46" } }, "release_status" : "stable", @@ -99,14 +101,15 @@ "web" : "https://github.com/dagolden/Capture-Tiny" } }, - "version" : "0.44", + "version" : "0.46", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Dagfinn Ilmari Manns\u00e5ker <ilm...@ilmari.org>", "David E. Wheeler <da...@justatheory.com>", "fecundf <not.com+git...@gmail.com>", + "Graham Knop <ha...@haarg.org>", "Peter Rabbitson <ribasu...@cpan.org>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/META.yml new/Capture-Tiny-0.46/META.yml --- old/Capture-Tiny-0.44/META.yml 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/META.yml 2017-02-25 20:19:33.000000000 +0100 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '6.17' dynamic_config: 1 -generated_by: 'Dist::Zilla version 6.006, CPAN::Meta::Converter version 2.150009' +generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -28,7 +28,7 @@ provides: Capture::Tiny: file: lib/Capture/Tiny.pm - version: '0.44' + version: '0.46' requires: Carp: '0' Exporter: '0' @@ -43,11 +43,12 @@ bugtracker: https://github.com/dagolden/Capture-Tiny/issues homepage: https://github.com/dagolden/Capture-Tiny repository: https://github.com/dagolden/Capture-Tiny.git -version: '0.44' +version: '0.46' x_authority: cpan:DAGOLDEN x_contributors: - 'Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>' - 'David E. Wheeler <da...@justatheory.com>' - 'fecundf <not.com+git...@gmail.com>' + - 'Graham Knop <ha...@haarg.org>' - 'Peter Rabbitson <ribasu...@cpan.org>' x_serialization_backend: 'YAML::Tiny version 1.69' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/Makefile.PL new/Capture-Tiny-0.46/Makefile.PL --- old/Capture-Tiny-0.44/Makefile.PL 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/Makefile.PL 2017-02-25 20:19:33.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.006. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.008. use strict; use warnings; @@ -33,7 +33,7 @@ "Test::More" => "0.62", "lib" => 0 }, - "VERSION" => "0.44", + "VERSION" => "0.46", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/README new/Capture-Tiny-0.46/README --- old/Capture-Tiny-0.44/README 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/README 2017-02-25 20:19:33.000000000 +0100 @@ -3,7 +3,7 @@ programs VERSION - version 0.44 + version 0.46 SYNOPSIS use Capture::Tiny ':all'; @@ -256,6 +256,11 @@ for captures. Other problems may occur in the child or parent, as well. Forking in a capture block is not recommended. + Using threads + Filehandles are global. Mixing up I/O and captures in different threads + without coordination is going to cause problems. Besides, threads are + officially discouraged. + Dropping privileges during a capture If you drop privileges during a capture, temporary files created to facilitate the capture may not be cleaned up afterwards. @@ -357,6 +362,8 @@ * fecundf <not.com+git...@gmail.com> + * Graham Knop <ha...@haarg.org> + * Peter Rabbitson <ribasu...@cpan.org> COPYRIGHT AND LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/cpanfile new/Capture-Tiny-0.46/cpanfile --- old/Capture-Tiny-0.44/cpanfile 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/cpanfile 2017-02-25 20:19:33.000000000 +0100 @@ -28,6 +28,7 @@ requires "Dist::Zilla" => "5"; requires "Dist::Zilla::Plugin::OSPrereqs" => "0"; requires "Dist::Zilla::Plugin::Prereqs" => "0"; + requires "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" => "0"; requires "Dist::Zilla::Plugin::RemovePrereqs" => "0"; requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072"; requires "English" => "0"; @@ -39,6 +40,7 @@ requires "Pod::Wordlist" => "0"; requires "Software::License::Apache_2_0" => "0"; requires "Test::CPAN::Meta" => "0"; + requires "Test::MinimumVersion" => "0"; requires "Test::More" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/dist.ini new/Capture-Tiny-0.46/dist.ini --- old/Capture-Tiny-0.44/dist.ini 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/dist.ini 2017-02-25 20:19:33.000000000 +0100 @@ -12,6 +12,9 @@ stopwords = resending stopwords = undiagnosed +[ReleaseStatus::FromVersion] +testing = second_decimal_odd + [OSPrereqs / MSWin32] Win32API::File = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/lib/Capture/Tiny.pm new/Capture-Tiny-0.46/lib/Capture/Tiny.pm --- old/Capture-Tiny-0.44/lib/Capture/Tiny.pm 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/lib/Capture/Tiny.pm 2017-02-25 20:19:33.000000000 +0100 @@ -3,7 +3,7 @@ use warnings; package Capture::Tiny; # ABSTRACT: Capture STDOUT and STDERR from Perl, XS or external programs -our $VERSION = '0.44'; +our $VERSION = '0.46'; use Carp (); use Exporter (); use IO::Handle (); @@ -81,7 +81,7 @@ #--------------------------------------------------------------------------# sub _relayer { - my ($fh, $layers) = @_; + my ($fh, $apply_layers) = @_; # _debug("# requested layers (@{$layers}) for @{[fileno $fh]}\n"); # eliminate pseudo-layers @@ -91,7 +91,7 @@ binmode( $fh, ":pop" ); } # apply other layers - my @to_apply = @$layers; + my @to_apply = @$apply_layers; shift @to_apply; # eliminate initial :unix # _debug("# applying layers (unix @to_apply) to @{[fileno $fh]}\n"); binmode($fh, ":" . join(":",@to_apply)); @@ -436,7 +436,7 @@ =head1 VERSION -version 0.44 +version 0.46 =head1 SYNOPSIS @@ -705,6 +705,12 @@ captures. Other problems may occur in the child or parent, as well. Forking in a capture block is not recommended. +=head3 Using threads + +Filehandles are global. Mixing up I/O and captures in different threads +without coordination is going to cause problems. Besides, threads are +officially discouraged. + =head3 Dropping privileges during a capture If you drop privileges during a capture, temporary files created to @@ -858,7 +864,7 @@ =head1 CONTRIBUTORS -=for stopwords Dagfinn Ilmari Mannsåker David E. Wheeler fecundf Peter Rabbitson +=for stopwords Dagfinn Ilmari Mannsåker David E. Wheeler fecundf Graham Knop Peter Rabbitson =over 4 @@ -876,6 +882,10 @@ =item * +Graham Knop <ha...@haarg.org> + +=item * + Peter Rabbitson <ribasu...@cpan.org> =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/t/00-report-prereqs.dd new/Capture-Tiny-0.46/t/00-report-prereqs.dd --- old/Capture-Tiny-0.44/t/00-report-prereqs.dd 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/t/00-report-prereqs.dd 2017-02-25 20:19:33.000000000 +0100 @@ -9,6 +9,7 @@ 'Dist::Zilla' => '5', 'Dist::Zilla::Plugin::OSPrereqs' => '0', 'Dist::Zilla::Plugin::Prereqs' => '0', + 'Dist::Zilla::Plugin::ReleaseStatus::FromVersion' => '0', 'Dist::Zilla::Plugin::RemovePrereqs' => '0', 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072', 'English' => '0', @@ -20,6 +21,7 @@ 'Pod::Wordlist' => '0', 'Software::License::Apache_2_0' => '0', 'Test::CPAN::Meta' => '0', + 'Test::MinimumVersion' => '0', 'Test::More' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/xt/author/00-compile.t new/Capture-Tiny-0.46/xt/author/00-compile.t --- old/Capture-Tiny-0.44/xt/author/00-compile.t 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/xt/author/00-compile.t 2017-02-25 20:19:33.000000000 +0100 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056 use Test::More; @@ -19,7 +19,9 @@ local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 ); -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -33,7 +35,11 @@ # see L<perlfaq8/How can I capture STDERR from an external command?> my $stderr = IO::Handle->new; - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/xt/author/pod-spell.t new/Capture-Tiny-0.46/xt/author/pod-spell.t --- old/Capture-Tiny-0.44/xt/author/pod-spell.t 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/xt/author/pod-spell.t 2017-02-25 20:19:33.000000000 +0100 @@ -2,33 +2,36 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007004 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(<DATA>); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ -UTF -seekable -prototyped -resending -undiagnosed +Capture +Dagfinn David Golden -dagolden -Dagfinn +Graham Ilmari +Knop Mannsåker -ilmari +Peter +Rabbitson +Tiny +UTF Wheeler +dagolden david fecundf +haarg +ilmari +lib not -Peter -Rabbitson +prototyped +resending ribasushi -lib -Capture -Tiny +seekable +undiagnosed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Capture-Tiny-0.44/xt/author/portability.t new/Capture-Tiny-0.46/xt/author/portability.t --- old/Capture-Tiny-0.44/xt/author/portability.t 2016-08-05 19:40:43.000000000 +0200 +++ new/Capture-Tiny-0.46/xt/author/portability.t 2017-02-25 20:19:33.000000000 +0100 @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings;