From 58da17c7ecd13974b3096aed3e6e3d3e10240b94 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 20 Sep 2010 12:01:30 +0100 Subject: [PATCH] Update to 0.08 Update to latest upstream release, 0.08: - Re-enable the caching of the stash Update patch for old ExtUtils::MakeMaker and Test::More versions --- .gitignore | 2 +- ...atch => Package-Stash-0.08-EU::MM-version.patch | 12 ++++++------ ...atch => Package-Stash-0.08-old-Test::More.patch | 14 +++++++------- perl-Package-Stash.spec | 10 +++++++--- sources | 2 +- 5 files changed, 22 insertions(+), 18 deletions(-) rename Package-Stash-0.03-EU::MM-version.patch => Package-Stash-0.08-EU::MM-version.patch (67%) rename Package-Stash-0.05-old-Test::More.patch => Package-Stash-0.08-old-Test::More.patch (90%) diff --git a/.gitignore b/.gitignore index 862cf46..a0f482b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Package-Stash-0.05.tar.gz +/Package-Stash-0.08.tar.gz diff --git a/Package-Stash-0.03-EU::MM-version.patch b/Package-Stash-0.08-EU::MM-version.patch similarity index 67% rename from Package-Stash-0.03-EU::MM-version.patch rename to Package-Stash-0.08-EU::MM-version.patch index e0fb21d..1c5ece8 100644 --- a/Package-Stash-0.03-EU::MM-version.patch +++ b/Package-Stash-0.08-EU::MM-version.patch @@ -1,5 +1,5 @@ ---- Package-Stash-0.03/Makefile.PL 2010-05-14 17:41:34.000000000 +0100 -+++ Package-Stash-0.03/Makefile.PL 2010-06-14 07:48:41.809872623 +0100 +--- Package-Stash-0.08/Makefile.PL 2010-09-19 02:17:49.000000000 +0100 ++++ Package-Stash-0.08/Makefile.PL 2010-09-20 11:34:35.619285663 +0100 @@ -4,7 +4,7 @@ @@ -9,16 +9,16 @@ -@@ -13,7 +13,7 @@ - 'AUTHOR' => 'Jesse Luehrs ', - 'BUILD_REQUIRES' => {}, +@@ -16,7 +16,7 @@ + 'Test::More' => '0.88' + }, 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.31' + 'ExtUtils::MakeMaker' => '0' }, 'DISTNAME' => 'Package-Stash', 'EXE_FILES' => [], -@@ -46,6 +46,9 @@ +@@ -48,6 +48,9 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; diff --git a/Package-Stash-0.05-old-Test::More.patch b/Package-Stash-0.08-old-Test::More.patch similarity index 90% rename from Package-Stash-0.05-old-Test::More.patch rename to Package-Stash-0.08-old-Test::More.patch index ca53b80..36caacf 100644 --- a/Package-Stash-0.05-old-Test::More.patch +++ b/Package-Stash-0.08-old-Test::More.patch @@ -1,18 +1,18 @@ -diff -up Package-Stash-0.05/t/01-basic.t.orig Package-Stash-0.05/t/01-basic.t ---- Package-Stash-0.05/t/01-basic.t.orig 2010-05-14 17:41:34.000000000 +0100 -+++ Package-Stash-0.05/t/01-basic.t 2010-06-07 09:53:18.570100938 +0100 +diff -up Package-Stash-0.08/t/01-basic.t.orig Package-Stash-0.08/t/01-basic.t +--- Package-Stash-0.08/t/01-basic.t.orig 2010-09-19 02:17:49.000000000 +0100 ++++ Package-Stash-0.08/t/01-basic.t 2010-09-20 11:37:09.187162663 +0100 @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; -+use Test::More tests => 93; ++use Test::More tests => 110; use Test::Exception; use Package::Stash; -@@ -269,5 +269,3 @@ dies_ok { - ok(!$stash->has_package_symbol('&foo'), "got \&foo"); - is($stash->get_package_symbol('foo'), *Baz::foo{IO}, "got foo"); +@@ -323,5 +323,3 @@ + ); + } } - -done_testing; diff --git a/perl-Package-Stash.spec b/perl-Package-Stash.spec index abe4876..d224377 100644 --- a/perl-Package-Stash.spec +++ b/perl-Package-Stash.spec @@ -5,15 +5,15 @@ %global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0) Name: perl-Package-Stash -Version: 0.05 +Version: 0.08 Release: 1%{?dist} Summary: Routines for manipulating stashes Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Package-Stash/ Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz -Patch0: Package-Stash-0.03-EU::MM-version.patch -Patch1: Package-Stash-0.05-old-Test::More.patch +Patch0: Package-Stash-0.08-EU::MM-version.patch +Patch1: Package-Stash-0.08-old-Test::More.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) @@ -74,6 +74,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Package::Stash.3pm* %changelog +* Mon Sep 20 2010 Paul Howarth - 0.08-1 +- Update to 0.08 (re-enable the caching of the stash) +- Update patch for old ExtUtils::MakeMaker and Test::More versions + * Wed Jun 16 2010 Paul Howarth - 0.05-1 - Update to 0.05 - Bump Test::More requirement for done_testing diff --git a/sources b/sources index 08edc03..03fc3ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d7b3857aca1f22b2da06cfcd3123cbef Package-Stash-0.05.tar.gz +3a34ef6de7c428a29f72e019db11624d Package-Stash-0.08.tar.gz