From c216c62ea749e598f3e6ae2074681d7a83f6d644 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Thu, 25 Aug 2016 11:49:31 +0200
Subject: Update to 0.32

---
 .gitignore                          |  1 +
 perl-Catalyst-Plugin-PageCache.spec | 28 +++++++++++++++-------------
 sources                             |  2 +-
 3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/.gitignore b/.gitignore
index f8ae9dc..8653472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Catalyst-Plugin-PageCache-0.22.tar.gz
 /Catalyst-Plugin-PageCache-0.31.tar.gz
+/Catalyst-Plugin-PageCache-0.32.tar.gz
diff --git a/perl-Catalyst-Plugin-PageCache.spec 
b/perl-Catalyst-Plugin-PageCache.spec
index 3d5bd64..c1498f8 100644
--- a/perl-Catalyst-Plugin-PageCache.spec
+++ b/perl-Catalyst-Plugin-PageCache.spec
@@ -1,11 +1,11 @@
 Name:           perl-Catalyst-Plugin-PageCache
-Version:        0.31
-Release:        15%{?dist}
+Version:        0.32
+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://search.cpan.org/CPAN/authors/id/T/TI/TIMB/Catalyst-Plugin-PageCache-%{version}.tar.gz
+Source0:        
http://search.cpan.org/CPAN/authors/id/V/VE/VERISSIMO/Catalyst-Plugin-PageCache-%{version}.tar.gz
 # Define POD encoding, CPAN RT#87667
 Patch0:         Catalyst-Plugin-PageCache-0.31-Define-POD-encoding.patch
 BuildArch:      noarch
@@ -17,7 +17,7 @@ BuildRequires:  perl(Catalyst::Plugin::I18N)
 BuildRequires:  perl(Catalyst::Runtime)
 BuildRequires:  perl(DateTime)
 BuildRequires:  perl(Digest::SHA1)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(File::Path)
 BuildRequires:  perl(MRO::Compat) >= 0.10
 BuildRequires:  perl(Test::More)
@@ -41,27 +41,29 @@ for withstanding a Slashdotting, for example.
 iconv -f iso-8859-1 -t utf-8 README >README.conv && mv README.conv README
 
 %build
-PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
+PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor 
NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-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 \;
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 TEST_POD=yep make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Catalyst*
+%{_mandir}/man3/Catalyst*
 
 %changelog
+* Thu Aug 25 2016 Emmanuel Seyman <emman...@seyman.fr> -  0.32-1
+- Update to 0.32
+- Pass NO_PACKLIST=1 to Makefile.PL
+- Use DESTDIR instead of PERL_INSTALL_ROOT
+- Remove defattr (default value used)
+- Tighten file listing
+
 * Tue May 17 2016 Jitka Plesnikova <jples...@redhat.com> - 0.31-15
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 533753a..26e10cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-370711313606996a9684a898dc83f449  Catalyst-Plugin-PageCache-0.31.tar.gz
+d3107bfd4e1265494b51e108661ecdd5  Catalyst-Plugin-PageCache-0.32.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Catalyst-Plugin-PageCache.git/commit/?h=master&id=c216c62ea749e598f3e6ae2074681d7a83f6d644
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to