%define upstream_name Capture-Tiny %define upstream_version 0.48 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 4 Summary: Capture STDOUT and STDERR from Perl, XS or external programs License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::File) BuildRequires: perl(IO::Handle) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) >= 0.620.0 BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl-devel BuildArch: noarch %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. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes LICENSE META.json META.yml MYMETA.yml README examples %{_mandir}/man3/* %{perl_vendorlib}/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.480.0-4.mga9 + Revision: 1808349 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.480.0-3.mga8 + Revision: 1503504 - Mageia 8 Mass Rebuild * Thu Sep 20 2018 umeabot <umeabot> 0.480.0-2.mga7 + Revision: 1281928 - Mageia 7 Mass Rebuild * Tue Apr 24 2018 tv <tv> 0.480.0-1.mga7 + Revision: 1222121 - update to 0.48 * Sat Jul 22 2017 shlomif <shlomif> 0.460.0-1.mga7 + Revision: 1128453 - update to 0.46 * Sat Jun 18 2016 pterjan <pterjan> 0.360.0-2.mga6 + Revision: 1022834 - Rebuild for perl 5.22.2 * Sun Mar 13 2016 shlomif <shlomif> 0.360.0-1.mga6 + Revision: 989808 - update to 0.36 * Wed Feb 24 2016 shlomif <shlomif> 0.340.0-1.mga6 + Revision: 978704 - update to 0.34 * Fri Feb 19 2016 umeabot <umeabot> 0.300.0-2.mga6 + Revision: 968606 - Mageia 6 Mass Rebuild * Tue Jul 14 2015 sander85 <sander85> 0.300.0-1.mga6 + Revision: 854066 - update to 0.30 * Wed Oct 15 2014 umeabot <umeabot> 0.250.0-3.mga5 + Revision: 745156 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.250.0-2.mga5 + Revision: 683737 - Mageia 5 Mass Rebuild * Sun Aug 17 2014 sander85 <sander85> 0.250.0-1.mga5 + Revision: 664697 - update to 0.25 * Mon Feb 10 2014 sander85 <sander85> 0.240.0-1.mga5 + Revision: 587894 - update to 0.24 * Sat Oct 19 2013 umeabot <umeabot> 0.220.0-2.mga4 + Revision: 525954 - Mageia 4 Mass Rebuild * Sun Jun 02 2013 kharec <kharec> 0.220.0-1.mga4 + Revision: 435007 - update to 0.22 * Sun Jan 13 2013 umeabot <umeabot> 0.210.0-2.mga3 + Revision: 363780 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 0.210.0-1.mga3 + Revision: 341936 - update to 0.21 * Wed Sep 26 2012 jquelin <jquelin> 0.200.0-1.mga3 + Revision: 297966 - update to 0.20 * Wed Aug 29 2012 kharec <kharec> 0.190.0-1.mga3 + Revision: 285193 - update to 0.19 * Tue Jun 05 2012 jquelin <jquelin> 0.180.0-1.mga3 + Revision: 254609 - update to 0.18 * Thu Feb 23 2012 jquelin <jquelin> 0.170.0-1.mga2 + Revision: 212721 - update to 0.17 * Wed Jan 04 2012 jquelin <jquelin> 0.150.0-1.mga2 + Revision: 190286 - update to 0.15 * Thu Dec 08 2011 kharec <kharec> 0.130.0-1.mga2 + Revision: 179084 - update to 0.13 * Wed Jun 15 2011 jquelin <jquelin> 0.110.0-1.mga2 + Revision: 106501 - update to 0.11 * Thu Feb 10 2011 jquelin <jquelin> 0.100.0-1.mga1 + Revision: 49801 - update to 0.10 - update to 0.10 * Wed Jan 19 2011 jquelin <jquelin> 0.80.0-1.mga1 + Revision: 24192 - fix specs - imported package perl-Capture-Tiny