[perl-CGI-Fast] Do not load Test::Deep where not needed
Petr Pisar
ppisar at fedoraproject.org
Wed Dec 10 14:20:45 UTC 2014
commit 894cf9f9dc8e40092dfaaf98c6696ad3e8c5d959
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Dec 10 15:01:35 2014 +0100
Do not load Test::Deep where not needed
...-2.04-Remove-useless-loading-of-Test-Deep.patch | 41 ++++++++++++++++++++
perl-CGI-Fast.spec | 8 +++-
2 files changed, 48 insertions(+), 1 deletions(-)
---
diff --git a/CGI-Fast-2.04-Remove-useless-loading-of-Test-Deep.patch b/CGI-Fast-2.04-Remove-useless-loading-of-Test-Deep.patch
new file mode 100644
index 0000000..79baa12
--- /dev/null
+++ b/CGI-Fast-2.04-Remove-useless-loading-of-Test-Deep.patch
@@ -0,0 +1,41 @@
+From a2ad8e26abd59a8f2855e3649dcb159e0f4ba158 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Wed, 10 Dec 2014 14:53:05 +0100
+Subject: [PATCH 1/2] Remove useless loading of Test::Deep
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ t/004_fcgi_file_handles.t | 1 -
+ t/005_no_file_handles.t | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/t/004_fcgi_file_handles.t b/t/004_fcgi_file_handles.t
+index 2061b96..749319d 100644
+--- a/t/004_fcgi_file_handles.t
++++ b/t/004_fcgi_file_handles.t
+@@ -4,7 +4,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 4;
+-use Test::Deep;
+
+ use CGI::Fast;
+
+diff --git a/t/005_no_file_handles.t b/t/005_no_file_handles.t
+index 203db28..89b13e3 100644
+--- a/t/005_no_file_handles.t
++++ b/t/005_no_file_handles.t
+@@ -4,7 +4,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 4;
+-use Test::Deep;
+
+ use CGI::Fast;
+
+--
+1.9.3
+
diff --git a/perl-CGI-Fast.spec b/perl-CGI-Fast.spec
index d49e130..e74061b 100644
--- a/perl-CGI-Fast.spec
+++ b/perl-CGI-Fast.spec
@@ -1,11 +1,13 @@
Name: perl-CGI-Fast
Version: 2.04
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CGI Interface for Fast CGI
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CGI-Fast/
Source0: http://www.cpan.org/authors/id/L/LE/LEEJO/CGI-Fast-%{version}.tar.gz
+# Do not load Test::Deep where not needed
+Patch0: CGI-Fast-2.04-Remove-useless-loading-of-Test-Deep.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(CGI) >= 4.00
@@ -43,6 +45,7 @@ performance improvements.
%prep
%setup -q -n CGI-Fast-%{version}
+%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -62,6 +65,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Dec 10 2014 Petr Pisar <ppisar at redhat.com> - 2.04-2
+- Do not load Test::Deep where not needed
+
* Mon Oct 13 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.04-1
- 2.04 bump
More information about the scm-commits
mailing list