forked from pool/perl-System-Command
Accepting request 811344 from devel:languages:perl:autoupdate
- updated to 1.121 see /usr/share/doc/packages/perl-System-Command/Changes 1.121 2020-06-03 BOOK - No functional change: update Changes and contributors 1.120 2020-06-03 BOOK [ENHANCEMENTS] - System::Command does not clobber $? and $! any more when DESTOYed (GH #27 by MMCCLIMON) OBS-URL: https://build.opensuse.org/request/show/811344 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-System-Command?expand=0&rev=10
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-System-Command
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,18 +12,18 @@
|
||||
# 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-System-Command
|
||||
Version: 1.119
|
||||
Version: 1.121
|
||||
Release: 0
|
||||
%define cpan_name System-Command
|
||||
Summary: Object for running system commands
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/System-Command/
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
@@ -31,6 +31,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(IPC::Run)
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(IPC::Run)
|
||||
%{perl_requires}
|
||||
|
||||
@@ -43,11 +48,11 @@ their 'STDIN', 'STDOUT' and 'STDERR' handles.
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%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
|
||||
|
Reference in New Issue
Block a user