forked from pool/perl-IPC-Run
Accepting request 592489 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/592489 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
e56dcd3c84
commit
db952a5ca2
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name IPC-Run
|
||||
Name: perl-IPC-Run
|
||||
Version: 0.97
|
||||
Version: 0.98
|
||||
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-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -27,12 +27,15 @@ Url: http://search.cpan.org/dist/IPC-Run/
|
||||
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
|
||||
BuildRequires: perl(Readonly)
|
||||
BuildRequires: perl(Readonly::Array)
|
||||
Requires: perl(IO::Pty) >= 1.08
|
||||
Recommends: perl(IO::Pty) >= 1.08
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: netcfg
|
||||
@@ -49,18 +52,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
|
||||
@@ -69,7 +72,7 @@ make %{?_smp_mflags} test
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README TODO
|
||||
%doc Changes README README.md TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user