Update patch which makes Test::Deep optional (BZ #1317867)

This commit is contained in:
Jitka Plesnikova 2016-03-15 13:53:10 +01:00
parent 7831307f4d
commit 7fbac55ba3
2 changed files with 6 additions and 3 deletions

View File

@ -112,7 +112,7 @@ diff -up CGI-4.27/t/request.t.orig CGI-4.27/t/request.t
- {
+ SKIP: {
+ skip 'Test::Deep module is not available', 3 unless
+ skip 'Test::Deep module is not available', 2 unless
+ (eval 'use Test::Deep 0.11; 1');
$^W++;

View File

@ -1,12 +1,12 @@
Name: perl-CGI
Summary: Handle Common Gateway Interface requests and responses
Version: 4.28
Release: 1%{?dist}
Release: 2%{?dist}
License: (GPL+ or Artistic) and Artistic 2.0
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-%{version}.tar.gz
# Make Test::Deep tests optional as it's not in the core in contrast to the CGI
Patch0: CGI-4.27-Make-Test-Deep-tests-optional.patch
Patch0: CGI-4.28-Make-Test-Deep-tests-optional.patch
URL: http://search.cpan.org/dist/CGI
BuildArch: noarch
BuildRequires: coreutils
@ -106,6 +106,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
* Tue Mar 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.28-2
- Update patch which makes Test::Deep optional
* Mon Mar 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.28-1
- 4.28 bump