From 616c6639db7bcc3fa81d6c69b21ac6fa8f3cd020 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Thu, 8 Feb 2024 16:54:01 +0900 Subject: [PATCH] Bump to 0.48 Signed-off-by: TizenOpenSource --- packaging/perl-Capture-Tiny.manifest | 5 ++++ packaging/perl-Capture-Tiny.spec | 36 ++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 packaging/perl-Capture-Tiny.manifest create mode 100644 packaging/perl-Capture-Tiny.spec 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 -- 2.34.1