From 79b34f6291695fe4b10cb878d7b54104066319a3ec29561a0e53adec7b4048cc Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 21 Dec 2011 12:14:59 +0000 Subject: [PATCH 1/3] merge OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=12 --- Capture-Tiny-0.11.tar.gz | 3 --- Capture-Tiny-0.13.tar.gz | 3 +++ perl-Capture-Tiny.changes | 15 +++++++++++++++ perl-Capture-Tiny.spec | 8 +++++--- 4 files changed, 23 insertions(+), 6 deletions(-) delete mode 100644 Capture-Tiny-0.11.tar.gz create mode 100644 Capture-Tiny-0.13.tar.gz diff --git a/Capture-Tiny-0.11.tar.gz b/Capture-Tiny-0.11.tar.gz deleted file mode 100644 index 886b2f8..0000000 --- a/Capture-Tiny-0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ca40024c425902d0305076771834278643002e5fe546fb6b8ca6d9f9f743027 -size 21060 diff --git a/Capture-Tiny-0.13.tar.gz b/Capture-Tiny-0.13.tar.gz new file mode 100644 index 0000000..3a442e6 --- /dev/null +++ b/Capture-Tiny-0.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eca683cf321ca2edcbc7e586f70835f82048ecfb00e21e59e638ad33acb2efd +size 26170 diff --git a/perl-Capture-Tiny.changes b/perl-Capture-Tiny.changes index 6d2cc06..b8edfcd 100644 --- a/perl-Capture-Tiny.changes +++ b/perl-Capture-Tiny.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Dec 21 11:59:40 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.13: no user-visible changes +- changes from 0.12: + - add new functions capture_stdout, capture_stderr, tee_stdout, tee_stderr; RT#60515 + - capture functions also returns the return values from the executed coderef; RT#61794 + - capture functions take optional custom filehandles for capturing via named + files instead of anonymous ones + - tied filehandles based on Tie::StdHandle can now use the ":utf8" layer; + removed remaining TODO tests; adds Scalar::Util as a dependency + - when Time::HiRes::usleep is available, tee operations will + sleep during the busy-loop waiting for tee processes to be ready + RT#67858 + ------------------------------------------------------------------- Fri Aug 26 15:45:14 UTC 2011 - chris@computersalat.de diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec index ae3dd3d..b4f1d8a 100644 --- a/perl-Capture-Tiny.spec +++ b/perl-Capture-Tiny.spec @@ -18,9 +18,9 @@ Name: perl-Capture-Tiny -Version: 0.11 +Version: 0.13 Release: 1 -License: Apache Software License +License: Apache-2.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/ @@ -29,9 +29,11 @@ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{vers 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) %{perl_requires} %description From 82da531d6bb29d6c3a5ba616f38ff600859ebb9800e370f6a78b0e3d0a5d0f3f Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 21 Dec 2011 13:54:39 +0000 Subject: [PATCH 2/3] re-introduce perl-macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=13 --- perl-Capture-Tiny.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec index b4f1d8a..883fada 100644 --- a/perl-Capture-Tiny.spec +++ b/perl-Capture-Tiny.spec @@ -29,6 +29,7 @@ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{vers 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) From bad3e04c495c2e239f7d33c4d34dbf23996f062a7ecae621286a7097e74fa0fb Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sat, 24 Dec 2011 10:15:21 +0000 Subject: [PATCH 3/3] 0.15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=14 --- Capture-Tiny-0.13.tar.gz | 3 --- Capture-Tiny-0.15.tar.gz | 3 +++ perl-Capture-Tiny.changes | 12 ++++++++++++ perl-Capture-Tiny.spec | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) delete mode 100644 Capture-Tiny-0.13.tar.gz create mode 100644 Capture-Tiny-0.15.tar.gz diff --git a/Capture-Tiny-0.13.tar.gz b/Capture-Tiny-0.13.tar.gz deleted file mode 100644 index 3a442e6..0000000 --- a/Capture-Tiny-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3eca683cf321ca2edcbc7e586f70835f82048ecfb00e21e59e638ad33acb2efd -size 26170 diff --git a/Capture-Tiny-0.15.tar.gz b/Capture-Tiny-0.15.tar.gz new file mode 100644 index 0000000..477c3d1 --- /dev/null +++ b/Capture-Tiny-0.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3dd077f0a300d8d45d579812d99003ce536990231ae867e795ef1ebe7e9553e +size 27073 diff --git a/perl-Capture-Tiny.changes b/perl-Capture-Tiny.changes index b8edfcd..0faedd3 100644 --- a/perl-Capture-Tiny.changes +++ b/perl-Capture-Tiny.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Dec 24 10:14:30 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.15: + * repeated captures from a custom filehandle would return undef instead of + the empty string (and would warn). This has been fixed. RT#73374 + * commented out debugging code for slightly less runtime overhead + +- changes from 0.14: + * added: capturing with custom filehandles will return only newly appended + output instead of everything already in the file RT#73374 + ------------------------------------------------------------------- Wed Dec 21 11:59:40 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec index 883fada..2a4cf1b 100644 --- a/perl-Capture-Tiny.spec +++ b/perl-Capture-Tiny.spec @@ -18,7 +18,7 @@ Name: perl-Capture-Tiny -Version: 0.13 +Version: 0.15 Release: 1 License: Apache-2.0 %define cpan_name Capture-Tiny