diff --git a/HTTP-Tiny-0.076.tar.gz b/HTTP-Tiny-0.076.tar.gz deleted file mode 100644 index 31f5156..0000000 --- a/HTTP-Tiny-0.076.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddbdaa2fb511339fa621a80021bf1b9733fddafc4fe0245f26c8b92171ef9387 -size 70121 diff --git a/HTTP-Tiny-0.078.tar.gz b/HTTP-Tiny-0.078.tar.gz new file mode 100644 index 0000000..23acbe6 --- /dev/null +++ b/HTTP-Tiny-0.078.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d150215b0177bef1ff4f0d9a42abecc08507872e09417b01e6b57092d2e48c2 +size 72203 diff --git a/perl-HTTP-Tiny.changes b/perl-HTTP-Tiny.changes index edb2047..5095c65 100644 --- a/perl-HTTP-Tiny.changes +++ b/perl-HTTP-Tiny.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Aug 3 03:06:40 UTC 2021 - Tina Müller + +- 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 diff --git a/perl-HTTP-Tiny.spec b/perl-HTTP-Tiny.spec index 425d663..ffdf0dd 100644 --- a/perl-HTTP-Tiny.spec +++ b/perl-HTTP-Tiny.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 -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 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/HTTP-Tiny/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros 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. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -68,7 +66,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes CONTRIBUTING.mkdn README %license LICENSE