commit a779e1a04e9e16741bad774e5887cb2b26062180 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Jul 29 15:32:34 2014 +0200 0.046 bump .gitignore | 1 + ...y-0.046-Croak-on-failed-write-into-a-file.patch | 8 ++++---- perl-HTTP-Tiny.spec | 12 ++++++++---- sources | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index 2d2cbcb..7b7bbaf 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /HTTP-Tiny-0.039.tar.gz /HTTP-Tiny-0.042.tar.gz /HTTP-Tiny-0.043.tar.gz +/HTTP-Tiny-0.046.tar.gz diff --git a/HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch b/HTTP-Tiny-0.046-Croak-on-failed-write-into-a-file.patch similarity index 90% rename from HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch rename to HTTP-Tiny-0.046-Croak-on-failed-write-into-a-file.patch index 0031597..ba77e4e 100644 --- a/HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch +++ b/HTTP-Tiny-0.046-Croak-on-failed-write-into-a-file.patch @@ -1,4 +1,4 @@ -From 05eae4936960e5c53f3e3287a4260c5ccf0ff6b0 Mon Sep 17 00:00:00 2001 +From 71207052e4ffe2740f258834b4a885e9099c011c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Wed, 27 Nov 2013 10:45:39 +0100 Subject: [PATCH] Croak on failed write into a file @@ -16,10 +16,10 @@ Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx> 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/HTTP/Tiny.pm b/lib/HTTP/Tiny.pm -index 6db995c..80a5a08 100644 +index cc410fb..8caa47b 100644 --- a/lib/HTTP/Tiny.pm +++ b/lib/HTTP/Tiny.pm -@@ -266,7 +266,10 @@ sub mirror { +@@ -278,7 +278,10 @@ sub mirror { sysopen my $fh, $tempfile, Fcntl::O_CREAT()|Fcntl::O_EXCL()|Fcntl::O_WRONLY() or Carp::croak(qq/Error: Could not create temporary file $tempfile for downloading: $!\n/); binmode $fh; @@ -32,5 +32,5 @@ index 6db995c..80a5a08 100644 close $fh or Carp::croak(qq/Error: Caught error closing temporary file $tempfile: $!\n/); -- -1.8.5.3 +1.9.3 diff --git a/perl-HTTP-Tiny.spec b/perl-HTTP-Tiny.spec index 0068659..2ae1f5c 100644 --- a/perl-HTTP-Tiny.spec +++ b/perl-HTTP-Tiny.spec @@ -1,6 +1,6 @@ Name: perl-HTTP-Tiny -Version: 0.043 -Release: 2%{?dist} +Version: 0.046 +Release: 1%{?dist} Summary: Small, simple, correct HTTP/1.1 client License: GPL+ or Artistic Group: Development/Libraries @@ -8,7 +8,7 @@ URL: http://search.cpan.org/dist/HTTP-Tiny/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/HTTP-Tiny-%{version}.tar.gz # Check for write failure, bug #1031096, refused by upstream, # <https://github.com/chansen/p5-http-tiny/issues/32> -Patch0: HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch +Patch0: HTTP-Tiny-0.046-Croak-on-failed-write-into-a-file.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 @@ -42,8 +42,9 @@ BuildRequires: perl(List::Util) # Mozilla::CA not needed # Net::SSLeay 1.49 not needed BuildRequires: perl(open) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) >= 0.96 -BuildRequires: perl(version) +BuildRequires: perl(version) >= 0.77 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(bytes) Requires: perl(Fcntl) @@ -80,6 +81,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Jul 29 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.046-1 +- 0.046 bump + * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.043-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 59c9e7d..b875bbd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -643b5f1d984ec069e5db406630ac6874 HTTP-Tiny-0.043.tar.gz +04397f44d37662d910e6f82a95efb546 HTTP-Tiny-0.046.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel