[perl-CGI-Application-Dispatch] Update to 3.00, Spec clean-up

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jun 19 23:42:27 UTC 2011


commit 9070f5e9fc901aec5a9f16d79eea1cff1e21f01c
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Mon Jun 20 01:42:12 2011 +0200

    Update to 3.00, Spec clean-up

 .gitignore                         |    1 +
 perl-CGI-Application-Dispatch.spec |   20 ++++++++++----------
 sources                            |    2 +-
 3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e94af73..897eaa0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 CGI-Application-Dispatch-2.17.tar.gz
 /CGI-Application-Dispatch-2.18.tar.gz
+/CGI-Application-Dispatch-3.00.tar.gz
diff --git a/perl-CGI-Application-Dispatch.spec b/perl-CGI-Application-Dispatch.spec
index 6755661..04dfa71 100644
--- a/perl-CGI-Application-Dispatch.spec
+++ b/perl-CGI-Application-Dispatch.spec
@@ -1,24 +1,26 @@
 Name:           perl-CGI-Application-Dispatch
-Version:        2.18
-Release:        2%{?dist}
+Version:        3.00
+Release:        1%{?dist}
 Summary:        Dispatch requests to CGI::Application based objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Application-Dispatch/
 Source0:        http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
-BuildRequires:  perl(CGI::Application) >= 3.2
+BuildRequires:  perl(CGI::Application) >= 4.50
 BuildRequires:  perl(Exception::Class)
 BuildRequires:  perl(Exception::Class::TryCatch)
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Plack)
 BuildRequires:  perl(Test::LongString)
 BuildRequires:  perl(Test::More)
 # Apache::Test must be configured before use.
 # BuildRequires:  perl(Apache::Test)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module provides a way (as a mod_perl handler or running under vanilla
 CGI) to look at the path (as returned by dispatch_path) of the incoming
@@ -33,8 +35,6 @@ of that module and run it.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -43,16 +43,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jun 20 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 3.00-1
+- Update to 3.00
+- Spec clean-up
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.18-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index aa543ce..f5a55cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-30f9584587d66cdd65972aa0345ad539  CGI-Application-Dispatch-2.18.tar.gz
+81323cdf46c8dd8191d6a50edfc79bff  CGI-Application-Dispatch-3.00.tar.gz



More information about the perl-devel mailing list