[perl-Catalyst-Engine-Apache] update to 1.16

Iain Arnell iarnell at fedoraproject.org
Thu Oct 7 16:39:04 UTC 2010


commit 8142ca35f9b8dec6c9971241ed0a427b16620888
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Oct 7 18:38:56 2010 +0200

    update to 1.16

 .gitignore                       |    1 +
 perl-Catalyst-Engine-Apache.spec |   37 ++++++++++++++++---------------------
 sources                          |    2 +-
 3 files changed, 18 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c34bc47..5fb905b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Catalyst-Engine-Apache-1.12.tar.gz
+/Catalyst-Engine-Apache-1.16.tar.gz
diff --git a/perl-Catalyst-Engine-Apache.spec b/perl-Catalyst-Engine-Apache.spec
index 80c0fbe..2aeea10 100644
--- a/perl-Catalyst-Engine-Apache.spec
+++ b/perl-Catalyst-Engine-Apache.spec
@@ -1,19 +1,17 @@
 Name:           perl-Catalyst-Engine-Apache
-Version:        1.12
-Release:        6%{?dist}
+Version:        1.16
+Release:        1%{?dist}
 Summary:        Catalyst Apache Engines
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Engine-Apache/
-Source0:        http://www.cpan.org/authors/id/A/AG/AGRUNDMA/Catalyst-Engine-Apache-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/F/FL/FLORA/Catalyst-Engine-Apache-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(Catalyst::Runtime)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
-# t/03podcoverage.t fails
-# BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod::Coverage)
 Requires:       perl(Catalyst::Runtime)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -28,34 +26,31 @@ These classes provide mod_perl support for Catalyst.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 # remove MP13 and MP19 as they are not used in Fedora
-find $RPM_BUILD_ROOT -type f -name '*MP13.*' -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*MP19.*' -exec rm -f {} \;
+find %{buildroot} -type f -name '*MP13.*' -exec rm -f {} \;
+find %{buildroot} -type f -name '*MP19.*' -exec rm -f {} \;
 
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
 
 %check
-# t/03podcoverage.t fails
-rm t/03podcoverage.t
-TEST_POD=1 make test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 07 2010 Iain Arnell <iarnell at gmail.com> 1.16-1
+- update to latest upstream
+- clean up spec for modern rpmbuild
+
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.12-6
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index 1f908c9..954fbf3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-00d89cac86ed977428468433389f4c6e  Catalyst-Engine-Apache-1.12.tar.gz
+7a7241dadd7c0eb28ce10aeb90c9944e  Catalyst-Engine-Apache-1.16.tar.gz


More information about the scm-commits mailing list