forked from pool/perl-HTTP-Tiny
Accepting request 911143 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/911143 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Tiny?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ddbdaa2fb511339fa621a80021bf1b9733fddafc4fe0245f26c8b92171ef9387
|
|
||||||
size 70121
|
|
||||||
3
HTTP-Tiny-0.078.tar.gz
Normal file
3
HTTP-Tiny-0.078.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6d150215b0177bef1ff4f0d9a42abecc08507872e09417b01e6b57092d2e48c2
|
||||||
|
size 72203
|
||||||
@@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 3 03:06:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.078
|
||||||
|
see /usr/share/doc/packages/perl-HTTP-Tiny/Changes
|
||||||
|
|
||||||
|
0.078 2021-08-02 09:24:03-04:00 America/New_York
|
||||||
|
- No changes from 0.077-TRIAL.
|
||||||
|
0.077 2021-07-22 13:07:14-04:00 America/New_York (TRIAL RELEASE)
|
||||||
|
[ADDED]
|
||||||
|
- Added a `patch` helper method for the HTTP `PATCH` verb.
|
||||||
|
- If the REQUEST_METHOD environment variable is set, then CGI_HTTP_PROXY
|
||||||
|
replaces HTTP_PROXY.
|
||||||
|
[FIXED]
|
||||||
|
- Unsupported scheme errors early without giving an uninitialized value
|
||||||
|
warning first.
|
||||||
|
- Sends Content-Length: 0 on empty body PUT/POST. This is not in the spec,
|
||||||
|
but some servers require this.
|
||||||
|
- Allows optional status line reason, as clarified in RFC 7230.
|
||||||
|
- Ignore SIGPIPE on reads as well as writes, as IO::Socket::SSL says that
|
||||||
|
SSL reads can also send writes as a side effect.
|
||||||
|
- Check if a server has closed a connection before preserving it for reuse.
|
||||||
|
[DOCS]
|
||||||
|
- Clarified that exceptions/errors result in 599 status codes.
|
||||||
|
[PREREQS]
|
||||||
|
- Optional IO::Socket::IP prereq must be at least version 0.32 to be used.
|
||||||
|
This ensures correct timeout support.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 25 05:28:16 UTC 2018 - coolo@suse.com
|
Sat Aug 25 05:28:16 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTTP-Tiny
|
# spec file for package perl-HTTP-Tiny
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,22 +12,20 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTTP-Tiny
|
|
||||||
Version: 0.076
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name HTTP-Tiny
|
%define cpan_name HTTP-Tiny
|
||||||
Summary: Small, Simple, Correct Http/1.1 Client
|
Name: perl-HTTP-Tiny
|
||||||
|
Version: 0.078
|
||||||
|
Release: 0
|
||||||
|
Summary: Small, simple, correct HTTP/1.1 client
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Url: http://search.cpan.org/dist/HTTP-Tiny/
|
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(IPC::Cmd)
|
BuildRequires: perl(IPC::Cmd)
|
||||||
@@ -52,15 +50,15 @@ instead of IO::Socket::INET for transparent support for both IPv4 and IPv6.
|
|||||||
Cookie support requires HTTP::CookieJar or an equivalent class.
|
Cookie support requires HTTP::CookieJar or an equivalent class.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -68,7 +66,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes CONTRIBUTING.mkdn README
|
%doc Changes CONTRIBUTING.mkdn README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user