68 lines
2.1 KiB
RPMSpec
68 lines
2.1 KiB
RPMSpec
Name: perl-IPC-Run3
|
|
Version: 0.049
|
|
Release: 2
|
|
Summary: Run a subprocess in batch mode
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl or BSD
|
|
URL: https://metacpan.org/release/IPC-Run3
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(Getopt::Long)
|
|
BuildRequires: perl(POSIX)
|
|
BuildRequires: perl(Test)
|
|
BuildRequires: perl(Test::More) >= 0.31
|
|
BuildRequires: perl(Time::HiRes)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
BuildRequires: perl(Test::Pod)
|
|
# https://github.com/rschupp/IPC-Run3/commit/8ebe48760cfdc78fbf4fc46413dde9470121b99e
|
|
|
|
%description
|
|
This module allows you to run a subprocess and redirect stdin, stdout,
|
|
and/or stderr to files and perl data structures. It aims to satisfy 99% of
|
|
the need for using system, qx, and open3 with a simple, extremely Perlish
|
|
API and none of the bloat and rarely used features of IPC::Run.
|
|
|
|
%prep
|
|
%setup -q -n IPC-Run3-%{version}
|
|
find -type f -exec chmod -x {} \;
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%make_build
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test RELEASE_TESTING=1
|
|
|
|
%files
|
|
%doc Changes README
|
|
%license LICENSE
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sat Jan 18 2025 Funda Wang <fundawang@yeah.net> - 0.049-2
|
|
- drop useless perl(:MODULE_COMPAT) requirement
|
|
|
|
* Tue Jul 16 2024 gss <guoshengsheng@kylinos.cn> - 0.049-1
|
|
- Update to version 0.049
|
|
- Do not apply 0001-test-and-fix-for-RT-52317-Calling-run3-garbles-STDIN.patch
|
|
- Avoid some uninitialized warnings in ProfLogReader
|
|
- Improve errno handling on Windows (thanks, Graham Ollis)
|
|
- Avoid leaking fds (thanks, Dan Book)
|
|
- Fix typos in docs (thanks, Yoshikazu Sawa and Jakub Wilk)
|
|
|
|
* Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 0.048-1
|
|
- Init package (Derived from federa project, thanks to fedora team)
|