8
0
forked from pool/perl-IPC-Run

- update to 0.91

- Tests are good in dev version. Releasing to stable.
 - RT 57277 - Apply suggested 1 line fix for dev release to public.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=23
This commit is contained in:
Vítězslav Čížek
2012-02-20 12:29:40 +00:00
committed by Git OBS Bridge
parent aed66951a9
commit eac4ad4e91
4 changed files with 23 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-Run
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,23 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-IPC-Run
Version: 0.90
Release: 11
AutoReqProv: on
Group: Development/Libraries/Perl
License: GPL+ or Artistic
Url: http://cpan.org/modules/by-module/IPC/
Version: 0.91
Release: 1
License: GPL-1.0+ or Artistic-1.0
Summary: System() and Background Procs with Piping, Redirs, and PTYs
Url: http://cpan.org/modules/by-module/IPC/
Group: Development/Libraries/Perl
Source: IPC-Run-%{version}.tar.gz
Patch: IPC-Run-0.89-path.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: IPC-Run-0.89-path.diff
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
IPC::Run allows you run and interact with child processes using files,
@@ -39,15 +38,14 @@ pipes, and pseudo-ttys. Both system()-style and scripted usages are
supported and may be mixed. Like-wise, functional and OO API styles are
both supported and may be mixed.
%prep
%setup -q -n IPC-Run-%{version}
%patch
%patch0
%build
perl Makefile.PL
make %{?_smp_mflags}
#run.t sometimes fails with "Resource temporarily unavailable"
#run.t sometimes fails with "Resource temporarily unavailable"
mv t/run.t t/run.tt
%check
@@ -59,7 +57,7 @@ make test
chmod 644 Changes
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files
%defattr(-,root,root)