Compare commits

...

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/IPC-Run-20231003.0.tar.gz SOURCES/IPC-Run-20200505.0.tar.gz

@ -1 +1 @@
e254a6ce784426e38c43f21e878a460fef80552d SOURCES/IPC-Run-20231003.0.tar.gz 297d6410a91f6dc466543476bea743a9b21df2e9 SOURCES/IPC-Run-20200505.0.tar.gz

@ -1,8 +1,8 @@
# Perform optional tests # Perform optinal tests
%bcond_without perl_IPC_Run_enables_optional_test %bcond_without perl_IPC_Run_enables_optional_test
Name: perl-IPC-Run Name: perl-IPC-Run
Version: 20231003.0 Version: 20200505.0
Release: 6%{?dist} Release: 6%{?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
@ -10,7 +10,7 @@ Summary: Perl module for interacting with child processes
# lib/IPC/Run/Win32Helper.pm: GPLv2 or Artistic # lib/IPC/Run/Win32Helper.pm: GPLv2 or Artistic
# 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-1.0-or-later OR Artistic-1.0-Perl License: GPL+ or Artistic
URL: https://metacpan.org/release/IPC-Run URL: https://metacpan.org/release/IPC-Run
Source0: https://cpan.metacpan.org/modules/by-module/IPC/IPC-Run-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/IPC/IPC-Run-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -43,28 +43,25 @@ BuildRequires: perl(strict)
BuildRequires: perl(Symbol) BuildRequires: perl(Symbol)
# Text::ParseWords not used on Linux # Text::ParseWords not used on Linux
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# 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 # B not used on Linux
BuildRequires: perl(Cwd)
BuildRequires: perl(Encode) BuildRequires: perl(Encode)
BuildRequires: perl(File::Temp) 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)
%if %{with perl_IPC_Run_enables_optional_test} %if %{with perl_IPC_Run_enables_optional_test}
# Optional Tests # Optional Tests
BuildRequires: perl(Readonly) BuildRequires: perl(Readonly)
%endif %endif
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Data::Dumper) Requires: perl(Data::Dumper)
Requires: perl(File::Basename) Requires: perl(File::Basename)
Requires: perl(IO::Pty) >= 1.08 Requires: perl(IO::Pty) >= 1.08
# Filter modules bundled for tests
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%description %description
IPC::Run allows you run and interact with child processes using files, IPC::Run allows you run and interact with child processes using files,
pipes, and pseudo-ttys. Both system()-style and scripted usages are pipes, and pseudo-ttys. Both system()-style and scripted usages are
@ -74,15 +71,6 @@ both supported and may be mixed.
Various redirection operators reminiscent of those seen on common Unix Various redirection operators reminiscent of those seen on common Unix
and DOS command lines are provided. and DOS command lines are provided.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n IPC-Run-%{version} %setup -q -n IPC-Run-%{version}
@ -92,18 +80,17 @@ sed -i -e '/^lib\/IPC\/Run\/Win32.*/d' MANIFEST
rm -f t/win32_* rm -f t/win32_*
sed -i -e '/^t\/win32_.*/d' MANIFEST sed -i -e '/^t\/win32_.*/d' MANIFEST
# Fix shellbangs
for file in eg/run_daemon eg/abuse/timers eg/abuse/blocking_debug_with_sub_coprocess ; do
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
done
# Handle optional tests # Handle optional tests
%if !%{with perl_IPC_Run_enables_optional_test} %if !%{with perl_IPC_Run_enables_optional_test}
rm t/readonly.t rm t/readonly.t
sed -i -e '/^t/readonly\.t/d' MANIFEST sed -i -e '/^t/readonly\.t/d' MANIFEST
%endif %endif
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
@ -112,20 +99,6 @@ make %{?_smp_mflags}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/bash
set -e
DIR=$(mktemp -d)
pushd "$DIR"
cp -a %{_libexecdir}/%{name}/* ./
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
make test make test
@ -139,82 +112,13 @@ make test
%{_mandir}/man3/IPC::Run::IO.3* %{_mandir}/man3/IPC::Run::IO.3*
%{_mandir}/man3/IPC::Run::Timer.3* %{_mandir}/man3/IPC::Run::Timer.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 20231003.0-6 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20200505.0-6
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Wed Jul 24 2024 Jitka Plesnikova <jplesnik@redhat.com> - 20231003.0-5 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20200505.0-5
- Package tests - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 20231003.0-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20231003.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20231003.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Oct 3 2023 Paul Howarth <paul@city-fan.org> - 20231003.0-1
- Update to 20231003.0 (rhbz#2241845)
- On Windows, avoid hang under IPCRUNDEBUG (GH#157)
- Refresh "cpanfile" from Makefile.PL, to allow use on Windows
- Normalize shebangs to /usr/bin/perl (GH#163)
- Fix or skip all tests recently seen to fail on Windows
- Include t/result.t in releases
- Make full_result() and result() Windows behavior match non-Windows (GH#168)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20220807.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Apr 18 2023 Michal Josef Špaček <mspacek@redhat.com> - 20220807.0-3
- Update license to SPDX format
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20220807.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Aug 7 2022 Paul Howarth <paul@city-fan.org> - 20220807.0-1
- Update to 20220807.0
- If your applications rely on portability to Windows, see new documentation
sections "argument-passing rules are program-specific" and "batch files"
- This release fixes bugs in runs of Windows programs that use standard
command line parsing rules
- Runs of non-standard programs may require changes; notable non-standard
programs include cmd.exe, cscript.exe, and Cygwin programs
- Skip t/pty.t test on NetBSD too (GH#140)
- Add strict/warnings
- Follow Windows argument quoting rules (GH#142)
- Allow win32_newlines.t to actually run (GH#146)
- Make t/pty.t test pass on OpenBSD (GH#150)
- Support Win32 commands having non-standard command line parsing rules
(GH#148)
- Support executing Win32 batch files
- Add IPC::Run::Win32Process, for delivering non-standard command lines
- Fix reporting of Win32::Process::Create() errors
- On Windows, avoid hang when closing read end of pipe (GH#156)
- Ignore known test failure on msys - t/windows_search_path.t (GH#155)
- Avoid warning with IPCRUNDEBUG, in Windows spawned children
- Use $^X, not 'perl', in tests
- Thanks to the new active developer: Noah Misch!
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 20200505.0-8
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 20200505.0-5
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-4 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save