[perl-Catalyst-Plugin-PageCache] update to 0.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a907ec3fbe806c8969b9277050071457b9026900
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sat Nov 20 08:27:29 2010 +0100

    update to 0.31

 .gitignore                          |    1 +
 perl-Catalyst-Plugin-PageCache.spec |   32 +++++++++++++-------------------
 sources                             |    2 +-
 3 files changed, 15 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 142f111..f8ae9dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Catalyst-Plugin-PageCache-0.22.tar.gz
+/Catalyst-Plugin-PageCache-0.31.tar.gz
diff --git a/perl-Catalyst-Plugin-PageCache.spec b/perl-Catalyst-Plugin-PageCache.spec
index fac84b6..8a5aa1c 100644
--- a/perl-Catalyst-Plugin-PageCache.spec
+++ b/perl-Catalyst-Plugin-PageCache.spec
@@ -1,29 +1,25 @@
 Name:           perl-Catalyst-Plugin-PageCache
-Version:        0.22
-Release:        3%{?dist}
+Version:        0.31
+Release:        1%{?dist}
 Summary:        Cache the output of entire pages
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Plugin-PageCache/
-Source0:        http://www.cpan.org/authors/id/M/MR/MRAMBERG/Catalyst-Plugin-PageCache-%{version}.tar.gz
-# Catalyst::Plugin::Cache::FileCache is deprecated, but necessary for testing
-# this module. Rather than package a deprecated module, just include a private
-# copy here for testing (license is also "same as perl")
-# upstream bug at http://rt.cpan.org/Ticket/Display.html?id=47373
-Source1:        http://search.cpan.org/src/MRAMBERG/Catalyst-Plugin-Cache-FileCache-0.7/lib/Catalyst/Plugin/Cache/FileCache.pm
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/Catalyst-Plugin-PageCache-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(Cache::Cache) >= 1.04
+BuildRequires:  perl(Cache::FileCache)
+BuildRequires:  perl(Catalyst::Plugin::Cache) >= 0.10
 BuildRequires:  perl(Catalyst::Plugin::I18N)
 BuildRequires:  perl(Catalyst::Runtime)
 BuildRequires:  perl(DateTime)
+BuildRequires:  perl(Digest::SHA1)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Path)
 BuildRequires:  perl(MRO::Compat) >= 0.10
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
-# for FileCache
-BuildRequires:  perl(Cache::FileCache)
-BuildRequires:  perl(Class::Data::Inheritable)
 
 Requires:       perl(Catalyst::Runtime)
 Requires:       perl(Class::Accessor::Fast)
@@ -39,16 +35,12 @@ for withstanding a Slashdotting, for example.
 %prep
 %setup -q -n Catalyst-Plugin-PageCache-%{version}
 iconv -f iso-8859-1 -t utf-8 README >README.conv && mv README.conv README
-# install private copy file FileCache
-install -D -m 0644 %{SOURCE1} t/lib/Catalyst/Plugin/Cache/FileCache.pm
 
 %build
 PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -59,9 +51,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 TEST_POD=yep make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -69,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Nov 20 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.31-1
+- update to latest upstream
+- no longer needs private copy of FileCache for testing
+- clean up spec for modern rpmbuild
+
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.22-3
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index bce79a3..533753a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-46bc5d125956f66424aec94d33b087df  Catalyst-Plugin-PageCache-0.22.tar.gz
+370711313606996a9684a898dc83f449  Catalyst-Plugin-PageCache-0.31.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux