Hello community, here is the log from the commit of package perl-IPC-Run3 for openSUSE:Factory checked in at 2012-03-12 08:53:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-IPC-Run3 (Old) and /work/SRC/openSUSE:Factory/.perl-IPC-Run3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IPC-Run3", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-IPC-Run3/perl-IPC-Run3.changes 2011-11-21 12:41:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-IPC-Run3.new/perl-IPC-Run3.changes 2012-03-12 08:53:54.000000000 +0100 @@ -1,0 +2,13 @@ +Thu Mar 8 10:53:42 UTC 2012 - [email protected] + +- license update: BSD-2-Clause or GPL-2.0+ or Artistic-1.0 + See License + +------------------------------------------------------------------- +Mon Feb 27 10:09:13 UTC 2012 - [email protected] + +- updated to 0.045 + skip a test that tickles an OpenBSD bug and hangs the process (thanks, + BinGOs) + +------------------------------------------------------------------- Old: ---- IPC-Run3-0.044.tar.gz New: ---- IPC-Run3-0.045.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-IPC-Run3.spec ++++++ --- /var/tmp/diff_new_pack.9W9lHP/_old 2012-03-12 08:53:55.000000000 +0100 +++ /var/tmp/diff_new_pack.9W9lHP/_new 2012-03-12 08:53:55.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-IPC-Run3 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,42 +15,37 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%bcond_with pod Name: perl-IPC-Run3 +Version: 0.045 +Release: 0 %define cpan_name IPC-Run3 Summary: Run a subprocess with input/ouput redirection -Version: 0.044 -Release: 2 -License: Any of BSDv1+ , Artistic V1+ , GPLv1+ +License: BSD-2-Clause or GPL-2.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/IPC-Run3/ -#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -%if %{with pod} -BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -%endif -BuildRequires: perl(Test::More) >= 0.31 -BuildRequires: perl(Time::HiRes) -Requires: perl(Time::HiRes) +#BuildRequires: perl(IPC::Run3) +#BuildRequires: perl(IPC::Run3::ProfArrayBuffer) +#BuildRequires: perl(IPC::Run3::ProfLogger) +#BuildRequires: perl(IPC::Run3::ProfLogReader) +#BuildRequires: perl(IPC::Run3::ProfPP) +#BuildRequires: perl(IPC::Run3::ProfReporter) +%{perl_requires} %description This module allows you to run a subprocess and redirect stdin, stdout, -and/or stderr to files and perl data structures. It aims to satisfy 99% -of the need for using system, qx, and open3 with a simple, extremely +and/or stderr to files and perl data structures. It aims to satisfy 99% of +the need for using 'system', 'qx', and 'open3' with a simple, extremely Perlish API. -Authors: --------- - Barrie Slaymaker <[email protected]> +Speed, simplicity, and portability are paramount. (That's speed of Perl +code; which is often much slower than the kind of buffered I/O that this +module uses to spool input to and output from the child command.) %prep %setup -q -n %{cpan_name}-%{version} @@ -64,18 +59,11 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes LICENSE README %changelog ++++++ IPC-Run3-0.044.tar.gz -> IPC-Run3-0.045.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/Changes new/IPC-Run3-0.045/Changes --- old/IPC-Run3-0.044/Changes 2010-08-22 21:41:39.000000000 +0200 +++ new/IPC-Run3-0.045/Changes 2011-12-23 19:49:09.000000000 +0100 @@ -1,5 +1,9 @@ Changes file for IPC::Run3 +0.045 2011-12-23 + skip a test that tickles an OpenBSD bug and hangs the process (thanks, + BinGOs) + 0.044 2010-08-22 ignore user-defined __DIE__ handler in _type (Jeff Lavallee) Added test for __DIE__ handler behavior @@ -14,7 +18,7 @@ Rewrite a test in t/utf8.t that runs afoul of a misfeature in Perl 5.8.0 (turn on ":utf8" by default on all filehandles when running in a UTF8 locale; fixed since 5.8.1) - + 0.041 2008-08-03 Handle arbitrary binmode() layers in "binmode_*" options; for backward compatibility, any true option that doesn't start @@ -26,12 +30,12 @@ (cf. RT 14272). 0.040 2007-12-26 - major rewrite of pod: + major rewrite of pod: - describe all possible forms of redirectors - list available options - explain how run3() works fix #31343 by using the three argument form of open() for files; - unfortunately that isn't available before Perl 5.6.0, + unfortunately that isn't available before Perl 5.6.0, hence "use 5.006_00"; also use lexical filehandles everywhere implement options append_{stdout,stderr}; add test cases edit META.yml so that the profiling modules IPC::Run3::Prof* @@ -64,28 +68,28 @@ (from the libwin32 CPAN distribution) as omitted these parameters from the Perl wrapper add a note to the documentation about the problems with - concurrent calls to run3 in a threaded environment + concurrent calls to run3 in a threaded environment (incl. fork() on Win32) make sure all tests run with warnings on 0.033 2005-11-15 make documentation in IPC/Run3/ProfReporter.pm comply with older versions of Pod::Coverage (fixes bug #15749) - new version of t/fork.t that will work on Windows + new version of t/fork.t that will work on Windows (there are still unresolved issues on Cygwin) switch t/fd_leak.t to use Test::More and relax file descriptor check - to "same or fewer fd's after the call to run3 than before", + to "same or fewer fd's after the call to run3 than before", because Darwin 7.2 sometimes actually report fewer fd's (fixes bug #15741) - extricated some dead code from IPC/Run3.pm that + extricated some dead code from IPC/Run3.pm that resulted in 6 unused file descriptors fix call to binmode missing a filehandle in IPC/Run3.pm fix warnings in test scripts 0.032 2005-10-19 comaint granted to RSCHUPP (thanks, barry!) - fix bug #15003 "Data corruption with fork when both parent - and child use run3": + fix bug #15003 "Data corruption with fork when both parent + and child use run3": - purge %fh_cache when we detect that a fork has happened - add t/fork.t to detect "crossover" between child processes - fix (and test) only works on Unix, Windows has more @@ -108,7 +112,7 @@ 0.010 2004-03-09 01:46:11 EST POD cleaned up - shell quoting improved for win32 + shell quoting improved for win32 0.009 2003-09-26 15:44:18 EDT CRLF bugs fixed on WinNT, WinXP, Win2K @@ -128,7 +132,7 @@ 0.003 2003-02-11 15:47:59 EST use dup2() to overwrite STDIN for the child - Added $ENV{IPCRUN3DEBUG} (and, silently, IPCRUNDEBUG) + Added $ENV{IPCRUN3DEBUG} (and, silently, IPCRUNDEBUG) debugging support. TODO: Add more debugging warnings. 0.000_1 2003-02-04 15:09:30 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/MANIFEST new/IPC-Run3-0.045/MANIFEST --- old/IPC-Run3-0.044/MANIFEST 2010-08-22 21:44:32.000000000 +0200 +++ new/IPC-Run3-0.045/MANIFEST 2011-12-23 19:49:42.000000000 +0100 @@ -18,9 +18,11 @@ t/IPC-Run3-ProfReporter.t t/IPC-Run3-profiling.t t/IPC-Run3.t +t/die_handler.t t/fd_leak.t t/fork.t t/pod-coverage.t t/pod.t t/utf8.t -META.yml Module meta-data (added by MakeMaker) +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/META.json new/IPC-Run3-0.045/META.json --- old/IPC-Run3-0.044/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/IPC-Run3-0.045/META.json 2011-12-23 19:49:42.000000000 +0100 @@ -0,0 +1,49 @@ +{ + "abstract" : "run a subprocess with input/ouput redirection", + "author" : [ + "Barrie Slaymaker <[email protected]>" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621", + "license" : [ + "open_source" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "IPC-Run3", + "no_index" : { + "directory" : [ + "lib/IPC/Run3" + ], + "file" : [ + "bin/run3profpp" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "runtime" : { + "requires" : { + "Test::More" : "0.31", + "Time::HiRes" : 0 + } + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "url" : "http://github.com/rjbs/ipc-run3/" + } + }, + "version" : "0.045" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/META.yml new/IPC-Run3-0.045/META.yml --- old/IPC-Run3-0.044/META.yml 2010-08-22 21:44:32.000000000 +0200 +++ new/IPC-Run3-0.045/META.yml 2011-12-23 19:49:42.000000000 +0100 @@ -1,29 +1,26 @@ ---- #YAML:1.0 -name: IPC-Run3 -version: 0.044 -abstract: run a subprocess with input/ouput redirection +--- +abstract: 'run a subprocess with input/ouput redirection' author: - - Barrie Slaymaker <[email protected]> -license: open_source -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Barrie Slaymaker <[email protected]>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621' +license: open_source +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: IPC-Run3 +no_index: + directory: + - lib/IPC/Run3 + file: + - bin/run3profpp requires: - Test::More: 0.31 - Time::HiRes: 0 + Test::More: 0.31 + Time::HiRes: 0 resources: - repository: http://github.com/rjbs/ipc-run3/ -no_index: - dir: - - lib/IPC/Run3 - directory: - - t - - inc - file: - - bin/run3profpp -generated_by: ExtUtils::MakeMaker version 6.56 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + repository: http://github.com/rjbs/ipc-run3/ +version: 0.045 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/bin/run3profpp new/IPC-Run3-0.045/bin/run3profpp --- old/IPC-Run3-0.044/bin/run3profpp 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/bin/run3profpp 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/local/bin/perl -w -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3/ProfArrayBuffer.pm new/IPC-Run3-0.045/lib/IPC/Run3/ProfArrayBuffer.pm --- old/IPC-Run3-0.044/lib/IPC/Run3/ProfArrayBuffer.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3/ProfArrayBuffer.pm 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ package IPC::Run3::ProfArrayBuffer; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3/ProfLogReader.pm new/IPC-Run3-0.045/lib/IPC/Run3/ProfLogReader.pm --- old/IPC-Run3-0.044/lib/IPC/Run3/ProfLogReader.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3/ProfLogReader.pm 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ package IPC::Run3::ProfLogReader; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3/ProfLogger.pm new/IPC-Run3-0.045/lib/IPC/Run3/ProfLogger.pm --- old/IPC-Run3-0.044/lib/IPC/Run3/ProfLogger.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3/ProfLogger.pm 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ package IPC::Run3::ProfLogger; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3/ProfPP.pm new/IPC-Run3-0.045/lib/IPC/Run3/ProfPP.pm --- old/IPC-Run3-0.044/lib/IPC/Run3/ProfPP.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3/ProfPP.pm 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ package IPC::Run3::ProfPP; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3/ProfReporter.pm new/IPC-Run3-0.045/lib/IPC/Run3/ProfReporter.pm --- old/IPC-Run3-0.044/lib/IPC/Run3/ProfReporter.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3/ProfReporter.pm 2011-12-23 19:49:20.000000000 +0100 @@ -1,6 +1,6 @@ package IPC::Run3::ProfReporter; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/lib/IPC/Run3.pm new/IPC-Run3-0.045/lib/IPC/Run3.pm --- old/IPC-Run3-0.044/lib/IPC/Run3.pm 2010-08-22 21:41:42.000000000 +0200 +++ new/IPC-Run3-0.045/lib/IPC/Run3.pm 2011-12-23 19:49:20.000000000 +0100 @@ -8,11 +8,11 @@ =head1 VERSION -version 0.044 +version 0.045 =cut -our $VERSION = '0.044'; +our $VERSION = '0.045'; =head1 SYNOPSIS @@ -785,7 +785,7 @@ =item * -better: hides OS dependancies +better: hides OS dependencies =item * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/t/IPC-Run3.t new/IPC-Run3-0.045/t/IPC-Run3.t --- old/IPC-Run3-0.044/t/IPC-Run3.t 2009-01-15 16:28:27.000000000 +0100 +++ new/IPC-Run3-0.045/t/IPC-Run3.t 2011-12-23 19:48:35.000000000 +0100 @@ -205,19 +205,28 @@ # check that run3 doesn't die on platforms where system() # returns -1 when SIGCHLD is ignored (RT #14272) sub { - my $system_child_error = eval - { - local $SIG{CHLD} = "IGNORE"; - system $^X, '-e', 0; - $?; - }; - my $run3_child_error = eval - { - local $SIG{CHLD} = "IGNORE"; - run3 [ $^X, '-e', 0 ], \undef, \undef, \undef, { return_if_system_error => 1 }; - $?; - }; - ok $run3_child_error, $system_child_error; + use Config; + + if ( $^O eq 'openbsd' and $Config{'useithreads'} ) { + ok(1); # Bug in OpenBSD threaded perls causes a hang + } + else { + + my $system_child_error = eval + { + local $SIG{CHLD} = "IGNORE"; + system $^X, '-e', 0; + $?; + }; + my $run3_child_error = eval + { + local $SIG{CHLD} = "IGNORE"; + run3 [ $^X, '-e', 0 ], \undef, \undef, \undef, { return_if_system_error => 1 }; + $?; + }; + ok $run3_child_error, $system_child_error; + + } }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPC-Run3-0.044/t/die_handler.t new/IPC-Run3-0.045/t/die_handler.t --- old/IPC-Run3-0.044/t/die_handler.t 1970-01-01 01:00:00.000000000 +0100 +++ new/IPC-Run3-0.045/t/die_handler.t 2010-08-22 21:33:36.000000000 +0200 @@ -0,0 +1,13 @@ +#!perl -w + +use Test::More tests => 1; + +use IPC::Run3; +use strict; + +local $SIG{__DIE__} = sub { ok(0, '__DIE__ handler should not be called'); }; + +my ( $in, $out, $err ); + +ok(run3 [$^X, '-e1' ], $in, $out, $err); + -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
