2.24 bump
This commit is contained in:
parent
3b814d5e55
commit
48bdc2e218
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
||||
/CGI-4.20.tar.gz
|
||||
/CGI-4.21.tar.gz
|
||||
/CGI-4.22.tar.gz
|
||||
/CGI-4.24.tar.gz
|
||||
|
||||
@ -53,14 +53,14 @@ diff -up CGI-4.15/t/param_list_context.t.orig CGI-4.15/t/param_list_context.t
|
||||
@@ -4,7 +4,7 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use Test::More tests => 7;
|
||||
use Test::More tests => 8;
|
||||
-use Test::Deep;
|
||||
+
|
||||
use Test::Warn;
|
||||
|
||||
use CGI ();
|
||||
@@ -30,11 +30,15 @@ warning_like
|
||||
"calling ->param with args in list context warns"
|
||||
@@ -36,11 +36,15 @@ warnings_are
|
||||
" ... but we only warn once",
|
||||
;
|
||||
|
||||
-cmp_deeply(
|
||||
@ -77,7 +77,7 @@ diff -up CGI-4.15/t/param_list_context.t.orig CGI-4.15/t/param_list_context.t
|
||||
|
||||
warnings_are
|
||||
{ @params = $q->multi_param('game') }
|
||||
@@ -42,11 +46,15 @@ warnings_are
|
||||
@@ -48,11 +52,15 @@ warnings_are
|
||||
"no warnings calling multi_param"
|
||||
;
|
||||
|
||||
@ -1,16 +1,20 @@
|
||||
Name: perl-CGI
|
||||
Summary: Handle Common Gateway Interface requests and responses
|
||||
Version: 4.22
|
||||
Version: 4.24
|
||||
Release: 1%{?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 and Test::NoWarnings tests optional as it's not in the core in contrast to the CGI
|
||||
Patch0: CGI-4.15-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
|
||||
Patch0: CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
|
||||
URL: http://search.cpan.org/dist/CGI
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: sed
|
||||
# Run-requires:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
@ -89,18 +93,22 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README.md examples/
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 21 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.24-1
|
||||
- 4.24 bump
|
||||
|
||||
* Mon Oct 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.22-1
|
||||
- 4.22 bump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user