[perl-HTTP-Tiny] 0.042 bump

Petr Pisar ppisar at fedoraproject.org
Wed Feb 19 14:30:53 UTC 2014


commit 9ead9d3ed0193d816f41f2993eec64cabfb011da
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Feb 19 15:31:13 2014 +0100

    0.042 bump

 .gitignore                                         |    1 +
 ...y-0.042-Croak-on-failed-write-into-a-file.patch |    8 +++---
 perl-HTTP-Tiny.spec                                |   27 ++++++++++++-------
 sources                                            |    2 +-
 4 files changed, 23 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5808a1b..6fe0928 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 /HTTP-Tiny-0.037.tar.gz
 /HTTP-Tiny-0.038.tar.gz
 /HTTP-Tiny-0.039.tar.gz
+/HTTP-Tiny-0.042.tar.gz
diff --git a/HTTP-Tiny-0.039-Croak-on-failed-write-into-a-file.patch b/HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch
similarity index 90%
rename from HTTP-Tiny-0.039-Croak-on-failed-write-into-a-file.patch
rename to HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch
index ec98fcb..0031597 100644
--- a/HTTP-Tiny-0.039-Croak-on-failed-write-into-a-file.patch
+++ b/HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch
@@ -1,4 +1,4 @@
-From 2dba24236cf734ce89a058541815eef2eb59475c Mon Sep 17 00:00:00 2001
+From 05eae4936960e5c53f3e3287a4260c5ccf0ff6b0 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at 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 at redhat.com>
  1 file changed, 4 insertions(+), 1 deletion(-)
 
 diff --git a/lib/HTTP/Tiny.pm b/lib/HTTP/Tiny.pm
-index bb824c2..9d98e1f 100644
+index 6db995c..80a5a08 100644
 --- a/lib/HTTP/Tiny.pm
 +++ b/lib/HTTP/Tiny.pm
-@@ -118,7 +118,10 @@ sub mirror {
+@@ -266,7 +266,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 bb824c2..9d98e1f 100644
      close $fh
          or Carp::croak(qq/Error: Caught error closing temporary file $tempfile: $!\n/);
 -- 
-1.8.3.1
+1.8.5.3
 
diff --git a/perl-HTTP-Tiny.spec b/perl-HTTP-Tiny.spec
index c5739c4..6069f02 100644
--- a/perl-HTTP-Tiny.spec
+++ b/perl-HTTP-Tiny.spec
@@ -1,14 +1,14 @@
 Name:           perl-HTTP-Tiny
-Version:        0.039
+Version:        0.042
 Release:        1%{?dist}
 Summary:        Small, simple, correct HTTP/1.1 client
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 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,
+# Check for write failure, bug #1031096, refused by upstream,
 # <https://github.com/chansen/p5-http-tiny/issues/32>
-Patch0:         HTTP-Tiny-0.039-Croak-on-failed-write-into-a-file.patch
+Patch0:         HTTP-Tiny-0.042-Croak-on-failed-write-into-a-file.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.17
@@ -20,12 +20,14 @@ BuildRequires:  perl(Carp)
 BuildRequires:  perl(Errno)
 BuildRequires:  perl(Fcntl)
 BuildRequires:  perl(IO::Socket)
+# IO::Socket::IP 0.25 is optional
 # IO::Socket::SSL 1.56 is optional
 BuildRequires:  perl(MIME::Base64)
 # Mozilla::CA is optional
 # Net::SSLeay 1.49 is optional
 BuildRequires:  perl(Time::Local)
 # Tests:
+# Data::Dumper not used
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Basename) 
 BuildRequires:  perl(File::Spec)
@@ -33,13 +35,15 @@ BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(IO::Dir)
 BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Socket::INET)
+# IO::Socket::SSL 1.56 not needed
+BuildRequires:  perl(IPC::Cmd)
 BuildRequires:  perl(List::Util)
+# Mozilla::CA not needed
+# Net::SSLeay 1.49 not needed
 BuildRequires:  perl(open)
 BuildRequires:  perl(Test::More) >= 0.96
-# On-line tests:
-BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(IO::Socket::INET)
-BuildRequires:  perl(IPC::Cmd)
+BuildRequires:  perl(version)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(bytes)
 Requires:       perl(Fcntl)
@@ -63,9 +67,9 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR='%{buildroot}'
+find '%{buildroot}' -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} '%{buildroot}'/*
 
 %check
 make test
@@ -76,6 +80,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Feb 19 2014 Petr Pisar <ppisar at redhat.com> - 0.042-1
+- 0.042 bump
+
 * Thu Nov 28 2013 Petr Pisar <ppisar at redhat.com> - 0.039-1
 - 0.039 bump
 
diff --git a/sources b/sources
index 0bf3f73..4553b1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-322bcc9567cc2c8d6202e0cb4a9528cc  HTTP-Tiny-0.039.tar.gz
+23bcc320c7873fe1d4482eb5e2c41cc5  HTTP-Tiny-0.042.tar.gz



More information about the perl-devel mailing list