[perl-CGI-Compile] update to 0.15

Iain Arnell iarnell at fedoraproject.org
Sun Oct 2 07:36:53 UTC 2011


commit b90796a4f7ae0ba579b0f19307c96f5155213c33
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Oct 2 09:36:33 2011 +0200

    update to 0.15

 .gitignore            |    1 +
 perl-CGI-Compile.spec |   20 ++++++++------------
 sources               |    2 +-
 3 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f362a22..30ab5de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 CGI-Compile-0.11.tar.gz
+/CGI-Compile-0.15.tar.gz
diff --git a/perl-CGI-Compile.spec b/perl-CGI-Compile.spec
index a9ea255..8b86f8a 100644
--- a/perl-CGI-Compile.spec
+++ b/perl-CGI-Compile.spec
@@ -1,24 +1,22 @@
 Name:           perl-CGI-Compile
 Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
-Version:        0.11
-Release:        5%{?dist}
+Version:        0.15
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/CGI-Compile
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
 BuildRequires:  perl(CGI)
+BuildRequires:  perl(CGI::Emulate::PSGI)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(File::pushd)
-BuildRequires:  perl(Filter::Util::Call)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Test::Requires)
 
-Requires:       perl(File::pushd)
-
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
@@ -35,8 +33,6 @@ ready to run on a persistent environment.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -47,16 +43,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Oct 02 2011 Iain Arnell <iarnell at gmail.com> 0.15-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Fri Jun 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.11-5
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 041dba5..4e2d6e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ec8bd2e3d8385c939584ad9b5ffeffb7  CGI-Compile-0.11.tar.gz
+2fcf4bc473107130229f4e0a98c756ce  CGI-Compile-0.15.tar.gz



More information about the perl-devel mailing list