diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22b113b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Capture-Tiny-0.24.tar.gz diff --git a/.perl-Capture-Tiny.metadata b/.perl-Capture-Tiny.metadata new file mode 100644 index 0000000..c6287ba --- /dev/null +++ b/.perl-Capture-Tiny.metadata @@ -0,0 +1 @@ +1832229da007eb1a38d2418a7e1a35b8affb5d43 SOURCES/Capture-Tiny-0.24.tar.gz diff --git a/SPECS/perl-Capture-Tiny.spec b/SPECS/perl-Capture-Tiny.spec new file mode 100644 index 0000000..8bdb927 --- /dev/null +++ b/SPECS/perl-Capture-Tiny.spec @@ -0,0 +1,155 @@ +Name: perl-Capture-Tiny +Version: 0.24 +Release: 1%{?dist} +Summary: Capture STDOUT and STDERR from Perl, XS or external programs +License: ASL 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Capture-Tiny/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::Handle) +# PerlIO is optional +BuildRequires: perl(Scalar::Util) +# Tests only: +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(lib) +BuildRequires: perl(IO::File) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(version) +# Optional tests: +BuildRequires: perl(Inline) +BuildRequires: perl(Inline::C) +BuildRequires: perl(Parse::RecDescent) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%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. + +%prep +%setup -q -n Capture-Tiny-%{version} + +%build +perl Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes examples LICENSE README Todo +%{perl_privlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Feb 10 2014 Petr Šabata - 0.24-1 +- Fix #1062427 / CVE-2014-1875 +- Fix a bogus date in changelog + +* Fri Dec 27 2013 Daniel Mach - 0.22-2 +- Mass rebuild 2013-12-27 + +* Thu Mar 28 2013 Petr Pisar - 0.22-1 +- 0.22 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 0.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 16 2012 Petr Pisar - 0.21-1 +- 0.21 bump + +* Thu Oct 04 2012 Petr Šabata - 0.20-1 +- 0.20 bump + +* Wed Aug 08 2012 Jitka Plesnikova - 0.19-1 +- 0.19 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jun 16 2012 Petr Pisar - 0.18-2 +- Perl 5.16 rebuild + +* Mon May 07 2012 Petr Šabata - 0.18-1 +- 0.18 bump + +* Thu Feb 23 2012 Petr Šabata - 0.17-1 +- 0.17 bump + +* Mon Feb 13 2012 Petr Šabata - 0.16-1 +- 0.16 bump + +* Fri Jan 13 2012 Fedora Release Engineering - 0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jan 02 2012 Petr Šabata - 0.15-1 +- 0.15 bump + +* Mon Dec 05 2011 Petr Šabata - 0.13-1 +- 0.13 bump + +* Fri Dec 02 2011 Petr Pisar - 0.12-1 +- 0.12 bump + +* Wed Jun 15 2011 Marcela Mašláňová - 0.11-2 +- Perl mass rebuild + +* Fri May 20 2011 Petr Sabata - 0.11-1 +- 0.11 bump +- Removing defattr + +* Wed Feb 09 2011 Petr Pisar - 0.10-1 +- 0.10 bump + +* Tue Feb 08 2011 Fedora Release Engineering - 0.09-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 28 2011 Petr Pisar - 0.09-1 +- 0.09 bump +- Remove BuildRoot stuff +- Migrate from Module::Build to ExtUtils::MakeMaker +- Install into perl core directory + +* Wed Dec 15 2010 Marcela Maslanova - 0.08-2 +- 661697 rebuild for fixing problems with vendorach/lib + +* Mon Jun 21 2010 Petr Pisar - 0.08-1 +- 0.08 bump (bug #606277) + +* Fri Apr 30 2010 Marcela Maslanova - 0.07-2 +- Mass rebuild with perl-5.12.0 + +* Wed Jan 27 2010 Marcela Mašláňová - 0.07-1 +- update + +* Mon Dec 7 2009 Stepan Kasal - 0.06-2 +- rebuild against perl 5.10.1 + +* Tue Aug 11 2009 Marcela Mašláňová - 0.06-1 +- update + +* Sat Jul 25 2009 Fedora Release Engineering - 0.05-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Apr 27 2009 Marcela Mašláňová 0.05-1 +- Specfile autogenerated by cpanspec 1.78.