[perl-CGI] 3.60 bump

Petr Pisar ppisar at fedoraproject.org
Fri Aug 17 07:48:25 UTC 2012


commit 40d344fdf0fc7eba21d5d4d2ad053c08010e1bdc
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Aug 17 09:41:53 2012 +0200

    3.60 bump

 .gitignore    |    1 +
 perl-CGI.spec |   29 ++++++++++++++---------------
 sources       |    2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 879a835..554956c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /CGI.pm-3.50.tar.gz
 /CGI.pm-3.51.tar.gz
+/CGI.pm-3.60.tar.gz
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 9f4b3d7..89ad630 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -1,7 +1,7 @@
 Name:           perl-CGI
 Summary:        Handle Common Gateway Interface requests and responses
-Version:        3.51
-Release:        8%{?dist}
+Version:        3.60
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-%{version}.tar.gz
@@ -16,10 +16,11 @@ BuildRequires:  perl(File::Spec) >= 0.82
 BuildRequires:  perl(FCGI) >= 0.67
 # Apache modules are optional
 # Tests:
+BuildRequires:  perl(Encode)
 BuildRequires:  perl(IO::File)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(lib)
-BuildRequires:  perl(Test::More) >= 0.80
+BuildRequires:  perl(Test::More) >= 0.98
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(File::Spec) >= 0.82
 Requires:       perl(FCGI) >= 0.67
@@ -28,25 +29,21 @@ Obsoletes:      %{name}-tests <= 3.49
 %{?perl_default_filter}
 # Remove under-specified dependencies
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((FCGI|File::Spec)\\)$
+# Remove false provides
+%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\((Fh|MultipartBuffer)\\)$
 
 %description
 CGI.pm is a stable, complete and mature solution for processing and preparing
-HTTP requests and responses. Major features including processing form 
-submissions, file uploads, reading and writing cookies, query string generation
-and manipulation, and processing and preparing HTTP headers. Some HTML 
-generation utilities are included as well.
+HTTP requests and responses. Major features including processing form
+submissions, file uploads, reading and writing cookies, query string
+generation and manipulation, and processing and preparing HTTP headers. Some
+HTML generation utilities are included as well.
 
 CGI.pm performs very well in in a vanilla CGI.pm environment and also comes 
 with built-in support for mod_perl and mod_perl2 as well as FastCGI.
 
 %prep
 %setup -q -n CGI.pm-%{version}
-
-# RPM 4.9 style
-%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Fh\\)$
-%global __provides_exclude %__provides_exclude|^perl\\(MultipartBuffer\\)$
-%global __provides_exclude %__provides_exclude|^perl\\(utf8\\)$
-
 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
@@ -58,18 +55,20 @@ make %{?_smp_mflags}
 %install
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc README Changes
+%doc cgi_docs.html Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Aug 17 2012 Petr Pisar <ppisar at redhat.com> - 3.60-1
+- 3.60 bump
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.51-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 3fbe366..d854df2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-53534654f745a1388bbda477022cf971  CGI.pm-3.51.tar.gz
+a7425ee15f3fbbd73af5a47cb7d0dbb5  CGI.pm-3.60.tar.gz



More information about the perl-devel mailing list