From 8e32da304accaf6b53099e9c99206d748b6dc736d72e5f3f4d5b5a969564dc87 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 21 Feb 2012 09:08:40 +0000 Subject: [PATCH] - updated to 0.16 - Noted problems and workaround for FCGI's pathological tied STDIN [RT#74681; thank you Karl Gaissmaier for testing the workaround] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=17 --- Capture-Tiny-0.15.tar.gz | 3 --- Capture-Tiny-0.16.tar.gz | 3 +++ perl-Capture-Tiny.changes | 8 ++++++++ perl-Capture-Tiny.spec | 43 ++++++++++++++++----------------------- 4 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 Capture-Tiny-0.15.tar.gz create mode 100644 Capture-Tiny-0.16.tar.gz diff --git a/Capture-Tiny-0.15.tar.gz b/Capture-Tiny-0.15.tar.gz deleted file mode 100644 index 477c3d1..0000000 --- a/Capture-Tiny-0.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3dd077f0a300d8d45d579812d99003ce536990231ae867e795ef1ebe7e9553e -size 27073 diff --git a/Capture-Tiny-0.16.tar.gz b/Capture-Tiny-0.16.tar.gz new file mode 100644 index 0000000..357737d --- /dev/null +++ b/Capture-Tiny-0.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f48456acb4ce9a0ba8898dad473e5b1e6b79d6c659f34b0a2486af8d91c61ae8 +size 27610 diff --git a/perl-Capture-Tiny.changes b/perl-Capture-Tiny.changes index 0faedd3..1fdab3f 100644 --- a/perl-Capture-Tiny.changes +++ b/perl-Capture-Tiny.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 21 09:02:47 UTC 2012 - coolo@suse.com + +- updated to 0.16 + - Noted problems and workaround for FCGI's pathological tied STDIN + [RT#74681; thank you Karl Gaissmaier for testing the + workaround] + ------------------------------------------------------------------- Sat Dec 24 10:14:30 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec index 2a4cf1b..50e381b 100644 --- a/perl-Capture-Tiny.spec +++ b/perl-Capture-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Capture-Tiny # -# 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 @@ -16,38 +16,34 @@ # - Name: perl-Capture-Tiny -Version: 0.15 -Release: 1 -License: Apache-2.0 +Version: 0.16 +Release: 0 %define cpan_name Capture-Tiny Summary: Capture STDOUT and STDERR from Perl, XS or external programs -Url: http://search.cpan.org/dist/Capture-Tiny/ +License: Apache-2.0 Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Capture-Tiny/ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 -BuildRequires: perl(Test::Differences) -BuildRequires: perl(Time::HiRes) -Requires: perl(Scalar::Util) -Recommends: perl(Time::HiRes) +#BuildRequires: perl(Capture::Tiny) +#BuildRequires: perl(Cases) +#BuildRequires: perl(Test::Differences) +#BuildRequires: perl(Test::Requires) +#BuildRequires: perl(TieLC) +#BuildRequires: perl(Utils) %{perl_requires} %description -Capture::Tiny provides a simple, portable way to capture anything sent to -STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or -from an external program. Optionally, output can be teed so that it is -captured while being passed through to the original handles. Yes, it even -works on Windows. Stop guessing which of a dozen capturing modules to use -in any particular situation and just use this one. - -This module was heavily inspired by the IO::CaptureOutput manpage, which -provides similar functionality without the ability to tee output and with -more complicated code and API. +Capture::Tiny provides a simple, portable way to capture almost anything +sent to STDOUT or STDERR, regardless of whether it comes from Perl, from XS +code or from an external program. Optionally, output can be teed so that it +is captured while being passed through to the original handles. Yes, it +even works on Windows (usually). Stop guessing which of a dozen capturing +modules to use in any particular situation and just use this one. %prep %setup -q -n %{cpan_name}-%{version} @@ -67,11 +63,8 @@ more complicated code and API. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples LICENSE perlcritic.rc README Todo +%doc Changes examples LICENSE perlcritic.rc README README.PATCHING Todo %changelog