|
|
@ -1,9 +1,6 @@
|
|
|
|
# Perform optinal tests
|
|
|
|
|
|
|
|
%bcond_without perl_IPC_Run_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-IPC-Run
|
|
|
|
Name: perl-IPC-Run
|
|
|
|
Version: 20200505.0
|
|
|
|
Version: 0.99
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl module for interacting with child processes
|
|
|
|
Summary: Perl module for interacting with child processes
|
|
|
|
# the rest: GPL+ or Artistic
|
|
|
|
# the rest: GPL+ or Artistic
|
|
|
|
# The Win32* modules are not part of the binary RPM package
|
|
|
|
# The Win32* modules are not part of the binary RPM package
|
|
|
@ -11,8 +8,8 @@ Summary: Perl module for interacting with child processes
|
|
|
|
# lib/IPC/Run/Win32Pump.pm: GPLv2 or Artistic
|
|
|
|
# lib/IPC/Run/Win32Pump.pm: GPLv2 or Artistic
|
|
|
|
# lib/IPC/Run/Win32IO.pm: GPLv2 or Artistic
|
|
|
|
# lib/IPC/Run/Win32IO.pm: GPLv2 or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/IPC-Run
|
|
|
|
URL: http://search.cpan.org/dist/IPC-Run/
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IPC/IPC-Run-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
|
|
# Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
@ -37,8 +34,8 @@ BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Pty) >= 1.08
|
|
|
|
BuildRequires: perl(IO::Pty) >= 1.08
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
|
|
|
# Socket not used on Linux
|
|
|
|
# Socket not used on Linux
|
|
|
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
# Text::ParseWords not used on Linux
|
|
|
|
# Text::ParseWords not used on Linux
|
|
|
@ -46,16 +43,10 @@ BuildRequires: perl(vars)
|
|
|
|
# Win32::Process not used on Linux
|
|
|
|
# Win32::Process not used on Linux
|
|
|
|
# Win32API::File not used on Linux
|
|
|
|
# Win32API::File not used on Linux
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
# B not used on Linux
|
|
|
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Tty)
|
|
|
|
BuildRequires: perl(IO::Tty)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
%if %{with perl_IPC_Run_enables_optional_test}
|
|
|
|
|
|
|
|
# Optional Tests
|
|
|
|
|
|
|
|
BuildRequires: perl(Readonly)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Runtime
|
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
@ -81,16 +72,10 @@ rm -f t/win32_*
|
|
|
|
sed -i -e '/^t\/win32_.*/d' MANIFEST
|
|
|
|
sed -i -e '/^t\/win32_.*/d' MANIFEST
|
|
|
|
|
|
|
|
|
|
|
|
# Fix shellbangs
|
|
|
|
# Fix shellbangs
|
|
|
|
for file in eg/run_daemon eg/abuse/timers eg/abuse/blocking_debug_with_sub_coprocess ; do
|
|
|
|
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
|
|
|
|
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
|
|
|
|
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# Handle optional tests
|
|
|
|
|
|
|
|
%if !%{with perl_IPC_Run_enables_optional_test}
|
|
|
|
|
|
|
|
rm t/readonly.t
|
|
|
|
|
|
|
|
sed -i -e '/^t/readonly\.t/d' MANIFEST
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -105,7 +90,8 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc Changelog eg/ README.md
|
|
|
|
%doc Changes README TODO
|
|
|
|
|
|
|
|
%doc abuse/ eg/
|
|
|
|
%{perl_vendorlib}/IPC/
|
|
|
|
%{perl_vendorlib}/IPC/
|
|
|
|
%{_mandir}/man3/IPC::Run.3*
|
|
|
|
%{_mandir}/man3/IPC::Run.3*
|
|
|
|
%{_mandir}/man3/IPC::Run::Debug.3*
|
|
|
|
%{_mandir}/man3/IPC::Run::Debug.3*
|
|
|
@ -113,56 +99,6 @@ make test
|
|
|
|
%{_mandir}/man3/IPC::Run::Timer.3*
|
|
|
|
%{_mandir}/man3/IPC::Run::Timer.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20200505.0-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20200505.0-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 20200505.0-2
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2020 Paul Howarth <paul@city-fan.org> - 20200505.0-1
|
|
|
|
|
|
|
|
- Update to 20200505.0
|
|
|
|
|
|
|
|
- Fix syntax errors in POD examples (GH#125)
|
|
|
|
|
|
|
|
- Switch Readonly testing requirement to a recommends (GH#127)
|
|
|
|
|
|
|
|
- Fix full_result to always return $? (GH#129)
|
|
|
|
|
|
|
|
- kill_kill: Immediately KILL the child process as documented for Win32 (GH#136)
|
|
|
|
|
|
|
|
- Switch to GitHub actions for CI testing
|
|
|
|
|
|
|
|
- Re-structure shipped files into eg/
|
|
|
|
|
|
|
|
- Move author tests into xt/ and test them separately
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180523.0-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180523.0-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20180523.0-5
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180523.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180523.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 20180523.0-2
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 24 2018 Paul Howarth <paul@city-fan.org> - 20180523.0-1
|
|
|
|
|
|
|
|
- Update to 20180523.0
|
|
|
|
|
|
|
|
- Fix using fd in child process when it happens to be the same number in the
|
|
|
|
|
|
|
|
child as it was in the parent (GH#99)
|
|
|
|
|
|
|
|
- Switch upstream from search.cpan.org to metacpan.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Mar 31 2018 Paul Howarth <paul@city-fan.org> - 0.99-1
|
|
|
|
* Sat Mar 31 2018 Paul Howarth <paul@city-fan.org> - 0.99-1
|
|
|
|
- Update to 0.99
|
|
|
|
- Update to 0.99
|
|
|
|
- Fixes for Windows unit tests so they skip or pass
|
|
|
|
- Fixes for Windows unit tests so they skip or pass
|
|
|
|