From 48bdc2e2189c73c09610dc686a88f82d0a7ab327 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 21 Dec 2015 10:08:19 +0100 Subject: [PATCH] 2.24 bump --- .gitignore | 1 + ...t-Deep-and-Test-NoWarnings-tests-optional.patch | 8 ++++---- perl-CGI.spec | 14 +++++++++++--- sources | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) rename CGI-4.15-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch => CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch (95%) diff --git a/.gitignore b/.gitignore index 974c038..84bb73c 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /CGI-4.20.tar.gz /CGI-4.21.tar.gz /CGI-4.22.tar.gz +/CGI-4.24.tar.gz diff --git a/CGI-4.15-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch b/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch similarity index 95% rename from CGI-4.15-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch rename to CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch index 264977d..97037df 100644 --- a/CGI-4.15-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch +++ b/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch @@ -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" ; diff --git a/perl-CGI.spec b/perl-CGI.spec index c1fca3c..cd8ff84 100644 --- a/perl-CGI.spec +++ b/perl-CGI.spec @@ -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 - 4.24-1 +- 4.24 bump + * Mon Oct 19 2015 Jitka Plesnikova - 4.22-1 - 4.22 bump diff --git a/sources b/sources index acb814e..f157630 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8289aa6f2cba9589134d517f4a25da9e CGI-4.22.tar.gz +a3ecb262a8e8d725c0efc89b0334449c CGI-4.24.tar.gz