0.051 bump

This commit is contained in:
Petr Písař 2014-11-21 08:08:07 +01:00
parent 55827717f3
commit 99c80ba5f5
4 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/HTTP-Tiny-0.048.tar.gz
/HTTP-Tiny-0.049.tar.gz
/HTTP-Tiny-0.050.tar.gz
/HTTP-Tiny-0.051.tar.gz

View File

@ -1,4 +1,4 @@
From 71207052e4ffe2740f258834b4a885e9099c011c Mon Sep 17 00:00:00 2001
From 727079f1ba023d5d923fa95802cd4806d2f98e39 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 cc410fb..8caa47b 100644
index d8bd719..2c02421 100644
--- a/lib/HTTP/Tiny.pm
+++ b/lib/HTTP/Tiny.pm
@@ -278,7 +278,10 @@ sub mirror {
@@ -279,7 +279,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;

View File

@ -1,5 +1,5 @@
Name: perl-HTTP-Tiny
Version: 0.050
Version: 0.051
Release: 1%{?dist}
Summary: Small, simple, correct HTTP/1.1 client
License: GPL+ or Artistic
@ -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.046-Croak-on-failed-write-into-a-file.patch
Patch0: HTTP-Tiny-0.051-Croak-on-failed-write-into-a-file.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
@ -72,11 +72,14 @@ find '%{buildroot}' -type f -name .packlist -exec rm -f {} \;
make test
%files
%doc Changes CONTRIBUTING eg LICENSE README
%doc Changes CONTRIBUTING.mkdn eg LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 0.051-1
- 0.051 bump
* Wed Sep 24 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.050-1
- 0.050 bump

View File

@ -1 +1 @@
6a7181c88e666f1bfae9329f24606748 HTTP-Tiny-0.050.tar.gz
93b9391f8b7d69d774c6e02b06ce880d HTTP-Tiny-0.051.tar.gz