- 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
This commit is contained in:
Stephan Kulow 2012-02-21 09:08:40 +00:00 committed by Git OBS Bridge
parent bad3e04c49
commit 8e32da304a
4 changed files with 29 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3dd077f0a300d8d45d579812d99003ce536990231ae867e795ef1ebe7e9553e
size 27073

3
Capture-Tiny-0.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f48456acb4ce9a0ba8898dad473e5b1e6b79d6c659f34b0a2486af8d91c61ae8
size 27610

View File

@ -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

View File

@ -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