代码拉取完成,页面将自动刷新
Name: perl-Capture-Tiny
Summary: Capture STDOUT and STDERR from Perl, XS or external programs
Version: 0.48
Release: 4
License: ASL 2.0
URL: https://metacpan.org/release/Capture-Tiny
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
BuildRequires: make perl-interpreter perl-devel perl-generators perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(warnings)
BuildRequires: perl(Exporter) perl(Fcntl) perl(File::Spec) perl(File::Temp)
BuildRequires: perl(Scalar::Util) perl(Test::More) >= 0.62 perl(IO::Handle)
BuildRequires: perl(IO::File) perl(Config) perl(lib) perl(PerlIO::scalar)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
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.
%package_help
%prep
%autosetup -p1 -n Capture-Tiny-%{version}
%build
perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%{perl_privlib}/*
%files help
%doc Changes examples README Todo
%{_mandir}/man3/*
%changelog
* Thu Dec 5 2019 caomeng<caomeng5@huawei.com> - 0.48-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。