8
0
Stephan Kulow
2014-03-07 09:30:49 +00:00
committed by Git OBS Bridge
parent 74af6e285f
commit 94ccd851ba
4 changed files with 79 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Tiny
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
Name: perl-HTTP-Tiny
Version: 0.039
Version: 0.043
Release: 0
%define cpan_name HTTP-Tiny
Summary: A small, simple, correct HTTP/1.1 client
@@ -31,30 +31,26 @@ BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IPC::Cmd)
BuildRequires: perl(Test::More) >= 0.96
#BuildRequires: perl(HTTP::Tiny)
#BuildRequires: perl(IO::Socket::SSL) >= 1.42
#BuildRequires: perl(Mozilla::CA)
#BuildRequires: perl(Net::SSLeay) >= 1.49
#BuildRequires: perl(Pod::Wordlist)
#BuildRequires: perl(t::BrokenCookieJar)
#BuildRequires: perl(Test::Spelling) >= 0.12
#BuildRequires: perl(t::SimpleCookieJar)
#BuildRequires: perl(t::Util)
#BuildRequires: perl(URI::Escape)
BuildRequires: perl(version)
Recommends: perl(HTTP::CookieJar) >= 0.001
Recommends: perl(IO::Socket::IP) >= 0.25
Recommends: perl(IO::Socket::SSL) >= 1.42
Recommends: perl(Mozilla::CA) >= 20120823
Recommends: perl(Net::SSLeay) >= 1.49
%{perl_requires}
%description
This is a very simple HTTP/1.1 client, designed for doing simple GET
requests without the overhead of a large framework like the LWP::UserAgent
manpage.
This is a very simple HTTP/1.1 client, designed for doing simple requests
without the overhead of a large framework like the LWP::UserAgent manpage.
It is more correct and more complete than the HTTP::Lite manpage. It
supports proxies (currently only non-authenticating ones) and redirection.
It also correctly resumes after EINTR.
supports proxies and redirection. It also correctly resumes after EINTR.
If the IO::Socket::IP manpage 0.25 or later is installed, HTTP::Tiny will
use it instead of the IO::Socket::INET manpage for transparent support for
both IPv4 and IPv6.
Cookie support requires the HTTP::CookieJar manpage or an equivalent class.
%prep
%setup -q -n %{cpan_name}-%{version}