From c21a09b0ab34dc438876e5471e5e99e896519fc165d4e3f36475de2bcbc4f778 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 27 Jul 2013 12:41:22 +0000 Subject: [PATCH] - updated to 1.02 * Bump to stable release * Remove the ::Tie stuff. It should be fully Capture::Tiny now. * David Golden re-did everything with Capture::Tiny to get around the odd output paths that we coudn't handle with a tie. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Output?expand=0&rev=16 --- Test-Output-1.01.tar.gz | 3 --- Test-Output-1.02.tar.gz | 3 +++ perl-Test-Output.changes | 11 +++++++++++ perl-Test-Output.spec | 25 ++++++++++++++----------- 4 files changed, 28 insertions(+), 14 deletions(-) delete mode 100644 Test-Output-1.01.tar.gz create mode 100644 Test-Output-1.02.tar.gz diff --git a/Test-Output-1.01.tar.gz b/Test-Output-1.01.tar.gz deleted file mode 100644 index 1a71cc3..0000000 --- a/Test-Output-1.01.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d3529e2983b66bbef4fa3bbc3954971b9e6fc23b518443ac3c6bba8cd86e241 -size 12277 diff --git a/Test-Output-1.02.tar.gz b/Test-Output-1.02.tar.gz new file mode 100644 index 0000000..c9d8d8e --- /dev/null +++ b/Test-Output-1.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:148afb9e98d9745442b73b4ad50d7aabe5491fe736f1547684c09db5c8ac10de +size 12402 diff --git a/perl-Test-Output.changes b/perl-Test-Output.changes index 6542b0e..7c32936 100644 --- a/perl-Test-Output.changes +++ b/perl-Test-Output.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jul 27 11:58:48 UTC 2013 - coolo@suse.com + +- updated to 1.02 + * Bump to stable release + * Remove the ::Tie stuff. It should be fully Capture::Tiny + now. + * David Golden re-did everything with Capture::Tiny + to get around the odd output paths that we coudn't + handle with a tie. + ------------------------------------------------------------------- Tue May 17 12:48:04 UTC 2011 - coolo@opensuse.org diff --git a/perl-Test-Output.spec b/perl-Test-Output.spec index b0485fe..310c0a7 100644 --- a/perl-Test-Output.spec +++ b/perl-Test-Output.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Test-Output (Version 1.01) +# spec file for package perl-Test-Output # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,22 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Test-Output -Version: 1.01 -Release: 1 -License: GPL+ or Artistic +Version: 1.02 +Release: 0 %define cpan_name Test-Output Summary: Utilities to test STDOUT and STDERR messages. -Url: http://search.cpan.org/dist/Test-Output/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Test-Output/ Source: http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Capture::Tiny) >= 0.17 BuildRequires: perl(File::Temp) >= 0.17 BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::Tester) >= 0.107 +#BuildRequires: perl(Test::Output) +Requires: perl(Capture::Tiny) >= 0.17 Requires: perl(File::Temp) >= 0.17 Requires: perl(Sub::Exporter) Requires: perl(Test::Tester) >= 0.107 @@ -45,7 +49,9 @@ Originally this module was designed not to have external requirements, however, the features provided by the Sub::Exporter manpage over what the Exporter manpage provides is just to great to pass up. -Test::Output ties STDOUT and STDERR using Test::Output::Tie. +Likewise, Capture::Tiny provides a much more robust capture mechanism +without than the original Test::Output::Tie. (Test::Output::Tie is +deprecated, but included for backwards compatibility.) %prep %setup -q -n %{cpan_name}-%{version} @@ -62,11 +68,8 @@ Test::Output ties STDOUT and STDERR using Test::Output::Tie. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README TODO +%doc Changes LICENSE MYMETA.json README TODO %changelog