3.60 bump
This commit is contained in:
parent
371b1716d4
commit
40d344fdf0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/CGI.pm-3.50.tar.gz
|
||||
/CGI.pm-3.51.tar.gz
|
||||
/CGI.pm-3.60.tar.gz
|
||||
|
||||
@ -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@redhat.com> - 3.60-1
|
||||
- 3.60 bump
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user