0.058 bump
This commit is contained in:
parent
6368aa7d8c
commit
f26d4dbf1a
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@
|
||||
/HTTP-Tiny-0.053.tar.gz
|
||||
/HTTP-Tiny-0.054.tar.gz
|
||||
/HTTP-Tiny-0.056.tar.gz
|
||||
/HTTP-Tiny-0.058.tar.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 727079f1ba023d5d923fa95802cd4806d2f98e39 Mon Sep 17 00:00:00 2001
|
||||
From 782e0fffff52c0cd729bbcdbd18657df4331adc9 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 d8bd719..2c02421 100644
|
||||
index 42653e0..a3def75 100644
|
||||
--- a/lib/HTTP/Tiny.pm
|
||||
+++ b/lib/HTTP/Tiny.pm
|
||||
@@ -281,7 +281,10 @@ sub mirror {
|
||||
@@ -291,7 +291,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 d8bd719..2c02421 100644
|
||||
close $fh
|
||||
or Carp::croak(qq/Error: Caught error closing temporary file $tempfile: $!\n/);
|
||||
--
|
||||
1.9.3
|
||||
2.5.5
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: perl-HTTP-Tiny
|
||||
Version: 0.056
|
||||
Release: 4%{?dist}
|
||||
Version: 0.058
|
||||
Release: 1%{?dist}
|
||||
Summary: Small, simple, correct HTTP/1.1 client
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,9 +8,12 @@ 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.053-Croak-on-failed-write-into-a-file.patch
|
||||
Patch0: HTTP-Tiny-0.058-Croak-on-failed-write-into-a-file.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
@ -20,11 +23,12 @@ BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(IO::Socket)
|
||||
# IO::Socket::IP 0.25 is optional
|
||||
# IO::Socket::IP 0.32 is optional
|
||||
# IO::Socket::SSL 1.56 is optional
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
# Mozilla::CA is optional
|
||||
# Net::SSLeay 1.49 is optional
|
||||
# Net::SSLeay 1.49 is an optional fall-back for IO::Socket::SSL
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Time::Local)
|
||||
# Tests:
|
||||
# Data::Dumper not used
|
||||
@ -44,7 +48,10 @@ BuildRequires: perl(Test::More) >= 0.96
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(bytes)
|
||||
Requires: perl(Fcntl)
|
||||
Recommends: perl(IO::Socket::IP) >= 0.32
|
||||
Recommends: perl(IO::Socket::SSL) >= 1.56
|
||||
Requires: perl(MIME::Base64)
|
||||
Recommends: perl(Mozilla::CA)
|
||||
Requires: perl(Time::Local)
|
||||
|
||||
%description
|
||||
@ -65,7 +72,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR='%{buildroot}'
|
||||
find '%{buildroot}' -type f -name .packlist -exec rm -f {} \;
|
||||
find '%{buildroot}' -type f -name .packlist -delete
|
||||
%{_fixperms} '%{buildroot}'/*
|
||||
|
||||
%check
|
||||
@ -78,6 +85,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed May 04 2016 Petr Pisar <ppisar@redhat.com> - 0.058-1
|
||||
- 0.058 bump
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.056-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user