From da8cf2bee4a70b5c1ceeb9e7199e720bd5b92ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 17 Mar 2016 09:36:15 +0100 Subject: [PATCH] Drop Test::Deep patch The patch made dependency on Test::Deep optional to allow bootstrapping perl when CGI was dual-living module. CGI is not in core anymore, thus the patch is not needed. --- perl-CGI.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/perl-CGI.spec b/perl-CGI.spec index 34b6e7b..5b91f83 100644 --- a/perl-CGI.spec +++ b/perl-CGI.spec @@ -1,12 +1,10 @@ Name: perl-CGI Summary: Handle Common Gateway Interface requests and responses Version: 4.28 -Release: 2%{?dist} +Release: 3%{?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.28-Make-Test-Deep-tests-optional.patch URL: http://search.cpan.org/dist/CGI BuildArch: noarch BuildRequires: coreutils @@ -45,14 +43,12 @@ BuildRequires: perl(IO::File) BuildRequires: perl(IO::Handle) BuildRequires: perl(lib) BuildRequires: perl(POSIX) +BuildRequires: perl(Test::Deep) >= 0.11 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::Warn) BuildRequires: perl(utf8) -%if !%{defined perl_bootstrap} # Optional tests BuildRequires: perl(Test::CPAN::Changes) -BuildRequires: perl(Test::Deep) >= 0.11 -%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %if 0%(perl -e 'print $] >= 5.019') Requires: perl(deprecate) @@ -81,7 +77,6 @@ with built-in support for mod_perl and mod_perl2 as well as FastCGI. %prep %setup -q -n CGI-%{version} -%patch0 -p1 iconv -f iso8859-1 -t utf-8 < Changes > Changes.1 mv Changes.1 Changes sed -i 's?usr/bin perl?usr/bin/perl?' t/init.t @@ -106,6 +101,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Thu Mar 17 2016 Petr Pisar - 4.28-3 +- Drop Test::Deep patch + * Tue Mar 15 2016 Jitka Plesnikova - 4.28-2 - Update patch which makes Test::Deep optional