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.
This commit is contained in:
parent
7fbac55ba3
commit
da8cf2bee4
@ -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 <ppisar@redhat.com> - 4.28-3
|
||||
- Drop Test::Deep patch
|
||||
|
||||
* Tue Mar 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.28-2
|
||||
- Update patch which makes Test::Deep optional
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user