From: TizenOpenSource Date: Thu, 8 Feb 2024 07:54:01 +0000 (+0900) Subject: Bump to 0.48 X-Git-Tag: accepted/tizen/unified/20240228.013646^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=616c6639db7bcc3fa81d6c69b21ac6fa8f3cd020;p=platform%2Fupstream%2Fperl-Capture-Tiny.git Bump to 0.48 Signed-off-by: TizenOpenSource --- diff --git a/packaging/perl-Capture-Tiny.manifest b/packaging/perl-Capture-Tiny.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/perl-Capture-Tiny.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/perl-Capture-Tiny.spec b/packaging/perl-Capture-Tiny.spec new file mode 100644 index 0000000..c544194 --- /dev/null +++ b/packaging/perl-Capture-Tiny.spec @@ -0,0 +1,36 @@ +Name: perl-Capture-Tiny +Version: 0.48 +Release: 0 +License: Apache-2.0 +Summary: Capture STDOUT and STDERR from Perl, XS or external programs +Url: https://metacpan.org/pod/Capture::Tiny +Group: Development/Libraries +Source0: Capture-Tiny-%{version}.tar.gz +Source1001: perl-Capture-Tiny.manifest +BuildRequires: perl +BuildRequires: perl(MIME::Base64) +BuildArch: noarch + +%description +Capture::Tiny provides a simple, portable way to capture almost 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 filehandles. + Yes, it even works on Windows (usually). Stop guessing which of a dozen +capturing modules to use in any particular situation and just use this one. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%license LICENSE