0.046 bump

This commit is contained in:
Petr Písař 2014-07-29 15:32:34 +02:00
parent 30d901a7a6
commit a779e1a04e
4 changed files with 14 additions and 9 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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@redhat.com>
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@redhat.com>
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

View File

@ -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@redhat.com> - 0.046-1
- 0.046 bump
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
643b5f1d984ec069e5db406630ac6874 HTTP-Tiny-0.043.tar.gz
04397f44d37662d910e6f82a95efb546 HTTP-Tiny-0.046.tar.gz