diff --git a/IPC-Run-20200505.0.tar.gz b/IPC-Run-20200505.0.tar.gz deleted file mode 100644 index f5cd878f851356c7b439dcc6c1886cfb60c7e7af..0000000000000000000000000000000000000000 Binary files a/IPC-Run-20200505.0.tar.gz and /dev/null differ diff --git a/IPC-Run-20220807.0.tar.gz b/IPC-Run-20220807.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..18f1fa6958bd46d1d4c12649851ae609d8f19790 Binary files /dev/null and b/IPC-Run-20220807.0.tar.gz differ diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec index 0532b05d553bc797b41d4aa29ef6a68626ad6565..01d9c63ffd78ae9c869ade72212e65eb07fa82c4 100644 --- a/perl-IPC-Run.spec +++ b/perl-IPC-Run.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: perl-IPC-Run -Version: 20200505.0 +Version: 20220807.0 Release: 1 Summary: System() and background procs w/ piping, redirs, ptys (Unix, Win32) License: GPL+ or Artistic @@ -8,15 +8,49 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/IPC-Run/ Source0: http://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed +# IO::Pty not needed strictly for build script +# Run-time: +# base not used on Linux +BuildRequires: perl(bytes) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Errno) +BuildRequires: perl(Exporter) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Pty) >= 1.08 -BuildRequires: perl(Readonly) -BuildRequires: perl(Readonly::Array) +BuildRequires: perl(POSIX) +BuildRequires: perl(Scalar::Util) +# Socket not used on Linux +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +# Text::ParseWords not used on Linux +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Win32::Process not used on Linux +# Win32API::File not used on Linux +# Tests: +# B not used on Linux +BuildRequires: perl(Cwd) +BuildRequires: perl(Encode) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::Tty) BuildRequires: perl(Test::More) >= 0.47 +# Runtime +Requires: perl(Data::Dumper) +Requires: perl(File::Basename) Requires: perl(IO::Pty) >= 1.08 -Requires: perl(Readonly) -Requires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description IPC::Run allows you to run and interact with child processes using files, @@ -31,6 +65,7 @@ IPC::Run allows you to run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed. + %prep %setup -q -n IPC-Run-%{version} rm -f lib/IPC/Run/Win32* @@ -40,52 +75,34 @@ sed -i -e '/^t\/win32_.*/d' MANIFEST for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file" done + %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -export PERL_MM_OPT="" -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* - -pushd %{buildroot} -touch filelist.lst -if [ -d usr/bin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ];then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib ];then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -popd -mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT -%files -f filelist.lst +%files %defattr(-,root,root,-) -%doc Changelog LICENSE META.json README.md +%doc Changelog eg/ README.md %{perl_vendorlib}/* + %files help %{_mandir}/* %changelog +* Mon Sep 11 2023 chenchen - 20220807.0-1 +- Upgrade to version 20220807 + * Mon Mar 08 2021 Perl_Bot 20200505.0-1 - Specfile autogenerated by Perl_Bot -