Compare commits

...

10 Commits

Author SHA256 Message Date
adf2fd0584 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=14
2024-08-10 21:11:44 +00:00
d83faa5ad3 Accepting request 1097587 from devel:languages:perl:autoupdate
- updated to 0.341
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.341   2023-05-24  Released-By: PERLANCAR; Urgency: medium
          - Log output of system() and run(), in addition to readpipe().

OBS-URL: https://build.opensuse.org/request/show/1097587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=13
2023-07-11 13:14:51 +00:00
67fac05359 Accepting request 868917 from devel:languages:perl:autoupdate
- updated to 0.340
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.340   2021-01-31  Released-By: PERLANCAR; Urgency: medium
  	- Update to Log::ger 0.038: Log::ger::Plugin::MultilevelLog is
  	  renamed to Log::ger::Format::MultilevelLog.

OBS-URL: https://build.opensuse.org/request/show/868917
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=12
2021-02-03 12:24:12 +00:00
e96c2afccb Accepting request 866772 from devel:languages:perl:autoupdate
- updated to 0.339
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.339   2021-01-26  Released-By: PERLANCAR; Urgency: medium
  	- Add option: fail_log_level.

OBS-URL: https://build.opensuse.org/request/show/866772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=11
2021-01-27 16:14:51 +00:00
Stephan Kulow
5941fef89c Accepting request 827531 from devel:languages:perl:autoupdate
- updated to 0.338
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.338   2020-08-18  Released-By: PERLANCAR; Urgency: low
  	- No functional changes.
          [Documentation]
  	- Add Description (finally).
  	- Mention IPC::System::Simple and Proc::Govern.
  	- Format POD for easier linking.

OBS-URL: https://build.opensuse.org/request/show/827531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=10
2020-08-21 12:19:33 +00:00
012b722280 Accepting request 812593 from devel:languages:perl:autoupdate
- updated to 0.337
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.337   2020-06-06  Released-By: PERLANCAR; Urgency: medium
  
  	- run(): Allow capture_stdout & capture_stderr to be coderef in
  	  addition to scalarref.

OBS-URL: https://build.opensuse.org/request/show/812593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=9
2020-06-08 15:53:22 +00:00
63f757cf53 Accepting request 797087 from devel:languages:perl:autoupdate
- updated to 0.336
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.336   2020-04-23  Released-By: PERLANCAR; Urgency: low
  
  	- No functional changes.
  
  	- [doc] Forgot to document the exit_code_success_criteria option.
  
  
  0.335   2020-04-23  Released-By: PERLANCAR; Urgency: medium
  
  	- Add option: exit_code_success_criteria.

OBS-URL: https://build.opensuse.org/request/show/797087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=8
2020-04-25 12:45:35 +00:00
Lars Vogdt
dcb6857950 Accepting request 783765 from devel:languages:perl:autoupdate
- updated to 0.334
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.334   2020-03-10  Released-By: PERLANCAR; Urgency: medium
  
          - [bugfix] readpipe() didn't respect shell=0 option. Since Perl's
            backtick always uses shell, when user wants shell=0, we need to avoid
            using backtick and emulate it with system() + capture_output instead.

OBS-URL: https://build.opensuse.org/request/show/783765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=7
2020-03-14 08:19:00 +00:00
1a04eb176b Accepting request 766537 from devel:languages:perl:autoupdate
- updated to 0.333
   see /usr/share/doc/packages/perl-IPC-System-Options/Changes
  0.333   2019-11-23  Released-By: PERLANCAR; Urgency: low
  
          - No functional changes.
  
  	- [doc] Update documentation: logging is now done using Log::ger,
  	  not Log::Any.

OBS-URL: https://build.opensuse.org/request/show/766537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=6
2020-01-23 13:55:51 +00:00
Stephan Kulow
c674f8f755 Accepting request 729728 from devel:languages:perl:autoupdate
Automatic update

OBS-URL: https://build.opensuse.org/request/show/729728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Options?expand=0&rev=5
2019-09-10 13:51:26 +00:00
4 changed files with 137 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cf8fb8df5c09e34f16a96bb4be19ebaf1e72369528adf45247b50b53489cdfb
size 22510

View File

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

View File

@@ -1,3 +1,108 @@
-------------------------------------------------------------------
Sat Jul 1 03:07:18 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.341
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.341 2023-05-24 Released-By: PERLANCAR; Urgency: medium
- Log output of system() and run(), in addition to readpipe().
-------------------------------------------------------------------
Mon Feb 1 03:07:59 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.340
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.340 2021-01-31 Released-By: PERLANCAR; Urgency: medium
- Update to Log::ger 0.038: Log::ger::Plugin::MultilevelLog is
renamed to Log::ger::Format::MultilevelLog.
-------------------------------------------------------------------
Tue Jan 26 03:07:08 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.339
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.339 2021-01-26 Released-By: PERLANCAR; Urgency: medium
- Add option: fail_log_level.
-------------------------------------------------------------------
Tue Aug 18 03:07:59 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 0.338
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.338 2020-08-18 Released-By: PERLANCAR; Urgency: low
- No functional changes.
[Documentation]
- Add Description (finally).
- Mention IPC::System::Simple and Proc::Govern.
- Format POD for easier linking.
-------------------------------------------------------------------
Sun Jun 7 03:10:32 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 0.337
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.337 2020-06-06 Released-By: PERLANCAR; Urgency: medium
- run(): Allow capture_stdout & capture_stderr to be coderef in
addition to scalarref.
-------------------------------------------------------------------
Fri Apr 24 03:12:02 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.336
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.336 2020-04-23 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [doc] Forgot to document the exit_code_success_criteria option.
0.335 2020-04-23 Released-By: PERLANCAR; Urgency: medium
- Add option: exit_code_success_criteria.
-------------------------------------------------------------------
Wed Mar 11 03:12:40 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.334
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.334 2020-03-10 Released-By: PERLANCAR; Urgency: medium
- [bugfix] readpipe() didn't respect shell=0 option. Since Perl's
backtick always uses shell, when user wants shell=0, we need to avoid
using backtick and emulate it with system() + capture_output instead.
-------------------------------------------------------------------
Thu Jan 23 03:09:32 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.333
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
0.333 2019-11-23 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [doc] Update documentation: logging is now done using Log::ger,
not Log::Any.
-------------------------------------------------------------------
Tue Sep 10 09:08:46 UTC 2019 - <timueller+perl@suse.de>
- updated to 0.332
see /usr/share/doc/packages/perl-IPC-System-Options/Changes
-------------------------------------------------------------------
Tue Jan 8 06:17:28 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-System-Options
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,42 +16,58 @@
#
Name: perl-IPC-System-Options
Version: 0.331
Release: 0
%define cpan_name IPC-System-Options
Summary: Perl's system() and readpipe/qx replacement, with options
Name: perl-IPC-System-Options
Version: 0.341.0
Release: 0
# 0.341 -> normalize -> 0.341.0
%define cpan_version 0.341
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Summary: Perl's system(), readpipe()/qx, IPC::Run's run(), start() (with more options)
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(File::Temp) >= 0.2307
BuildRequires: perl(IPC::Run)
BuildRequires: perl(Log::ger::Format) >= 0.18.0
BuildRequires: perl(Log::ger::Format::MultilevelLog)
BuildRequires: perl(Proc::ChildError)
BuildRequires: perl(String::ShellQuote)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
Requires: perl(Capture::Tiny)
Requires: perl(IPC::Run)
Requires: perl(Log::ger::Format) >= 0.18.0
Requires: perl(Log::ger::Format::MultilevelLog)
Requires: perl(Proc::ChildError)
Requires: perl(String::ShellQuote)
Recommends: perl(Log::ger) >= 0.023
Provides: perl(IPC::System::Options) = %{version}
%undefine __perllib_provides
Recommends: perl(Log::ger) >= 0.38.0
%{perl_requires}
%description
Perl's system() and readpipe/qx replacement, with options
This module provides replacement (wrapper) for Perl's 'system()',
'readpipe()' (qx//, a.k.a. the backtick operator), as well as IPC::Run's
'start()' and 'run()'. The wrappers give you options like forcing/avoiding
use of shell (like what IPC::System::Simple offers you), logging the
arguments and/or output (using Log::ger), temporarily setting environment
variables, temporarily setting working directory, dying on non-zero exit
code, capturing (or tee-ing) output (stdout/stderr) (using Capture::Tiny),
and a few others. They are meant as a convenience so you can just call
'system()' (or the other wrapper target) instead of doing some additional
setup and cleanup yourself.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -62,7 +78,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE