8
0
forked from pool/perl-IPC-Run

Accepting request 591328 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/591328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=33
This commit is contained in:
2018-03-28 14:27:01 +00:00
committed by Git OBS Bridge
parent 93c360bf26
commit 9d1149b36c
4 changed files with 23 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-Run
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -16,23 +16,24 @@
#
%define cpan_name IPC-Run
Name: perl-IPC-Run
Version: 0.96
Version: 0.97
Release: 0
%define cpan_name IPC-Run
Summary: System() and Background Procs W/ Piping, Redirs, Ptys (Unix, Win32)
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-Run/
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
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
Requires: perl(IO::Pty) >= 1.08
Recommends: perl(IO::Pty) >= 1.08
BuildArch: noarch
%{perl_requires}
# MANUAL BEGIN
BuildRequires: netcfg
@@ -49,18 +50,18 @@ DOS command lines are provided.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
%patch0
# MANUAL BEGIN
# run.t sometimes fails with "Resource temporarily unavailable"
mv t/run.t t/run.tt
# MANUAL END
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make %{?_smp_mflags} test
%{__make} test
%install
%perl_make_install
@@ -68,6 +69,8 @@ make %{?_smp_mflags} test
%perl_gen_filelist
%files -f %{name}.files
%doc Changes LICENSE README TODO
%defattr(-,root,root,755)
%doc Changes README TODO
%license LICENSE
%changelog