8
0

Accepting request 767631 from devel:languages:perl:autoupdate

- updated to 1.26
   see /usr/share/doc/packages/perl-IPC-System-Simple/Changes
  1.26      2020-01-25 02:00:45+00:00 UTC
  
  1.26      2020-01-24 20:47 America/NewYork
          * BUILD: Update FAIL_POSIX warning message
            Per:  https://github.com/pjf/ipc-system-simple/pull/28.  Thanks to scop.
  
          * TEST: t/07_taint.t: Use executable name as source of taintedness
            Addresses https://github.com/pjf/ipc-system-simple/issues/21
            Thanks to Petr Písař.
  
          * OTHER: Typographic corrections:
            rt.cpan.org 60211; leonerd++
            rt.cpan.org 86403; dsteinbrunner++
  
            Add Travis configuration.
  
  1.26-TRIAL      2020-01-24 03:43:20 GMT
            TRIAL release only

OBS-URL: https://build.opensuse.org/request/show/767631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-System-Simple?expand=0&rev=11
This commit is contained in:
2020-01-27 15:17:16 +00:00
committed by Git OBS Bridge
parent 1413619003
commit 158410199c
5 changed files with 73 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-System-Simple
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-IPC-System-Simple
Version: 1.25
Version: 1.26
Release: 0
%define cpan_name IPC-System-Simple
Summary: Run commands simply, with detailed diagnostics
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/IPC-System-Simple/
Source: http://www.cpan.org/authors/id/P/PJ/PJF/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(BSD::Resource)
#BuildRequires: perl(IPC::System::Simple)
%{perl_requires}
%description
@@ -52,10 +51,10 @@ Perl's backticks operator. Simply write:
use IPC::System::Simple qw(capture);
and then use the the /capture() manpage command just like you'd use
backticks. If there's an error, it will die with a detailed description of
what went wrong. Better still, you can even use 'capturex()' to run the
equivalent of backticks, but without the shell:
and then use the capture() command just like you'd use backticks. If
there's an error, it will die with a detailed description of what went
wrong. Better still, you can even use 'capturex()' to run the equivalent of
backticks, but without the shell:
use IPC::System::Simple qw(capturex);
@@ -67,14 +66,14 @@ diagnostics, then read on!
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -83,6 +82,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples LICENSE README
%doc Changes examples README
%license LICENSE
%changelog