forked from pool/perl-PerlIO-via-Timeout
Accepting request 307106 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/307106 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PerlIO-via-Timeout?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
886dc937f0
commit
d6fb8d3711
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-PerlIO-via-Timeout
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -17,22 +17,21 @@
|
||||
|
||||
|
||||
Name: perl-PerlIO-via-Timeout
|
||||
Version: 0.29
|
||||
Version: 0.30
|
||||
Release: 0
|
||||
%define cpan_name PerlIO-via-Timeout
|
||||
Summary: a PerlIO layer that adds read & write timeout to a handle
|
||||
Summary: PerlIO layer that adds read & write timeout to a handle
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/PerlIO-via-Timeout/
|
||||
Source: http://www.cpan.org/authors/id/D/DA/DAMS/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/D/DA/DAMS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.030
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.039
|
||||
BuildRequires: perl(Test::TCP)
|
||||
BuildRequires: perl(Time::Out)
|
||||
Requires: perl(Time::Out)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -44,9 +43,9 @@ The timeout is implemented by using '<select'> on the handle before
|
||||
reading/writing.
|
||||
|
||||
*WARNING* the handle won't timeout if you use 'sysread' or 'syswrite' on
|
||||
it, because these functions works at a lower level. Hower if you're trying
|
||||
to implement a timeout for a socket, see the IO::Socket::Timeout manpage
|
||||
that implements exactly that.
|
||||
it, because these functions works at a lower level. However if you're
|
||||
trying to implement a timeout for a socket, see the IO::Socket::Timeout
|
||||
manpage that implements exactly that.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
Reference in New Issue
Block a user