8
0
forked from pool/perl-IPC-Run

Accepting request 998988 from devel:languages:perl:autoupdate

- Fix patch IPC-Run-0.89-path.diff (add -p0)
- updated to 20220807.0
   see /usr/share/doc/packages/perl-IPC-Run/Changelog
  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.
   - #140 - skip t/pty.t test on NetBSD too
   - Add strict/warnings
   - #142 - Follow Windows argument quoting rules
   - #146 - allow win32_newlines.t to actually run
   - #150 - Make t/pty.t test pass on OpenBSD.
   - #148 - Support Win32 commands having nonstandard command line parsing rules
   - Support executing Win32 batch files.
   - Add IPC::Run::Win32Process, for delivering nonstandard command lines.
   - Fix reporting of Win32::Process::Create() errors.
   - #156 - On Windows, avoid hang when closing read end of pipe.
   - #155 - Ignore known test failure on msys. - t/windows_search_path.t
   - Avoid warning with IPCRUNDEBUG, in Windows spawned children.
   - Use $^X, not 'perl', in tests.
   - Thanks to the New active developer: Noah Misch!

OBS-URL: https://build.opensuse.org/request/show/998988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=43
This commit is contained in:
2022-08-24 08:56:22 +00:00
committed by Git OBS Bridge
parent 0e01727ee2
commit f0268b21e7
5 changed files with 43 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:816ebf217fa0df99c583d73c0acc6ced78ac773787c664c75cbf140bb7e4c901
size 127505

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:277d781dbbc98af18e979c7ef36f222513d7361742c52507c3348b265f6f5e69
size 133631

View File

@@ -6,7 +6,7 @@ description_paragraphs: 2
# - source2
patches:
# PATCH-FIX-OPENSUSE -- Fix intepreter
IPC-Run-0.89-path.diff:
IPC-Run-0.89-path.diff: -p0
preamble: |-
BuildRequires: netcfg
post_prep: |-

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue Aug 23 13:31:42 UTC 2022 - Tina Müller <tina.mueller@suse.com>
- Fix patch IPC-Run-0.89-path.diff (add -p0)
-------------------------------------------------------------------
Mon Aug 8 03:09:37 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 20220807.0
see /usr/share/doc/packages/perl-IPC-Run/Changelog
20220807.0 Mon Aug 1 2022
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.
- #140 - skip t/pty.t test on NetBSD too
- Add strict/warnings
- #142 - Follow Windows argument quoting rules
- #146 - allow win32_newlines.t to actually run
- #150 - Make t/pty.t test pass on OpenBSD.
- #148 - Support Win32 commands having nonstandard command line parsing rules
- Support executing Win32 batch files.
- Add IPC::Run::Win32Process, for delivering nonstandard command lines.
- Fix reporting of Win32::Process::Create() errors.
- #156 - On Windows, avoid hang when closing read end of pipe.
- #155 - Ignore known test failure on msys. - t/windows_search_path.t
- Avoid warning with IPCRUNDEBUG, in Windows spawned children.
- Use $^X, not 'perl', in tests.
- Thanks to the New active developer: Noah Misch!
-------------------------------------------------------------------
Thu May 7 12:35:57 UTC 2020 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-Run
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,17 @@
#
Name: perl-IPC-Run
Version: 20200505.0
Release: 0
%define cpan_name IPC-Run
Summary: System() and background procs w/ piping, redirs, ptys (Unix, Win32)
Name: perl-IPC-Run
Version: 20220807.0
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Summary: System() and background procs w/ piping, redirs, ptys (Unix, Win32)
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: IPC-Run-0.89-path.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IO::Pty) >= 1.08
@@ -51,9 +49,8 @@ Various redirection operators reminiscent of those seen on common Unix and
DOS command lines are provided.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version} -p0
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%patch0
# MANUAL BEGIN
# run.t sometimes fails with "Resource temporarily unavailable"
mv t/run.t t/run.tt
@@ -61,7 +58,7 @@ mv t/run.t t/run.tt
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -72,7 +69,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changelog README.md
%license LICENSE