commit 36de3cd248723f10aa47f466db49490a98799353 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Jan 6 12:18:13 2011 +0000 Update to 0.19 New upstream release 0.19 (more correct validity test for scalars) Update patch for old Test::More versions .gitignore | 2 +- ...h => Package-Stash-XS-0.19-old-Test::More.patch | 70 ++++++++++---------- perl-Package-Stash-XS.spec | 10 ++- sources | 2 +- 4 files changed, 44 insertions(+), 40 deletions(-) --- diff --git a/.gitignore b/.gitignore index 629fb76..0fe915d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Package-Stash-XS-0.17.tar.gz +/Package-Stash-XS-0.19.tar.gz diff --git a/Package-Stash-XS-0.17-old-Test::More.patch b/Package-Stash-XS-0.19-old-Test::More.patch similarity index 59% rename from Package-Stash-XS-0.17-old-Test::More.patch rename to Package-Stash-XS-0.19-old-Test::More.patch index 406299c..95903c1 100644 --- a/Package-Stash-XS-0.17-old-Test::More.patch +++ b/Package-Stash-XS-0.19-old-Test::More.patch @@ -1,6 +1,6 @@ -diff -up Package-Stash-XS-0.17/t/01-basic.t.orig Package-Stash-XS-0.17/t/01-basic.t ---- Package-Stash-XS-0.17/t/01-basic.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/01-basic.t 2010-11-17 12:11:30.370843769 +0000 +diff -up Package-Stash-XS-0.19/t/01-basic.t.orig Package-Stash-XS-0.19/t/01-basic.t +--- Package-Stash-XS-0.19/t/01-basic.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/01-basic.t 2011-01-06 08:55:03.658919749 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -16,9 +16,9 @@ diff -up Package-Stash-XS-0.17/t/01-basic.t.orig Package-Stash-XS-0.17/t/01-basi } - -done_testing; -diff -up Package-Stash-XS-0.17/t/02-extension.t.orig Package-Stash-XS-0.17/t/02-extension.t ---- Package-Stash-XS-0.17/t/02-extension.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/02-extension.t 2010-11-17 12:11:30.370843769 +0000 +diff -up Package-Stash-XS-0.19/t/02-extension.t.orig Package-Stash-XS-0.19/t/02-extension.t +--- Package-Stash-XS-0.19/t/02-extension.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/02-extension.t 2011-01-06 08:55:03.682920449 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -34,9 +34,9 @@ diff -up Package-Stash-XS-0.17/t/02-extension.t.orig Package-Stash-XS-0.17/t/02- ok(!defined($Foo::{baz}), '... the %baz slot has still not been created'); - -done_testing; -diff -up Package-Stash-XS-0.17/t/03-io.t.orig Package-Stash-XS-0.17/t/03-io.t ---- Package-Stash-XS-0.17/t/03-io.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/03-io.t 2010-11-17 12:11:30.373843863 +0000 +diff -up Package-Stash-XS-0.19/t/03-io.t.orig Package-Stash-XS-0.19/t/03-io.t +--- Package-Stash-XS-0.19/t/03-io.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/03-io.t 2011-01-06 08:55:03.683920478 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -52,9 +52,9 @@ diff -up Package-Stash-XS-0.17/t/03-io.t.orig Package-Stash-XS-0.17/t/03-io.t } - -done_testing; -diff -up Package-Stash-XS-0.17/t/04-get.t.orig Package-Stash-XS-0.17/t/04-get.t ---- Package-Stash-XS-0.17/t/04-get.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/04-get.t 2010-11-17 12:11:30.395844555 +0000 +diff -up Package-Stash-XS-0.19/t/04-get.t.orig Package-Stash-XS-0.19/t/04-get.t +--- Package-Stash-XS-0.19/t/04-get.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/04-get.t 2011-01-06 08:55:03.683920478 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -70,9 +70,9 @@ diff -up Package-Stash-XS-0.17/t/04-get.t.orig Package-Stash-XS-0.17/t/04-get.t } - -done_testing; -diff -up Package-Stash-XS-0.17/t/05-isa.t.orig Package-Stash-XS-0.17/t/05-isa.t ---- Package-Stash-XS-0.17/t/05-isa.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/05-isa.t 2010-11-17 12:11:30.396844586 +0000 +diff -up Package-Stash-XS-0.19/t/05-isa.t.orig Package-Stash-XS-0.19/t/05-isa.t +--- Package-Stash-XS-0.19/t/05-isa.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/05-isa.t 2011-01-06 08:55:03.684920507 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -92,9 +92,9 @@ diff -up Package-Stash-XS-0.17/t/05-isa.t.orig Package-Stash-XS-0.17/t/05-isa.t - -done_testing; +} -diff -up Package-Stash-XS-0.17/t/06-addsub.t.orig Package-Stash-XS-0.17/t/06-addsub.t ---- Package-Stash-XS-0.17/t/06-addsub.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/06-addsub.t 2010-11-17 12:11:30.396844586 +0000 +diff -up Package-Stash-XS-0.19/t/06-addsub.t.orig Package-Stash-XS-0.19/t/06-addsub.t +--- Package-Stash-XS-0.19/t/06-addsub.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/06-addsub.t 2011-01-06 08:55:03.684920507 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -110,27 +110,27 @@ diff -up Package-Stash-XS-0.17/t/06-addsub.t.orig Package-Stash-XS-0.17/t/06-add '... got the right %DB::sub value for dunk with specified args'; - -done_testing; -diff -up Package-Stash-XS-0.17/t/07-edge-cases.t.orig Package-Stash-XS-0.17/t/07-edge-cases.t ---- Package-Stash-XS-0.17/t/07-edge-cases.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/07-edge-cases.t 2010-11-17 12:11:30.397844618 +0000 +diff -up Package-Stash-XS-0.19/t/07-edge-cases.t.orig Package-Stash-XS-0.19/t/07-edge-cases.t +--- Package-Stash-XS-0.19/t/07-edge-cases.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/07-edge-cases.t 2011-01-06 08:56:02.763644477 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; use lib 't/lib'; -use Test::More; -+use Test::More tests => 11; ++use Test::More tests => 14; + use Test::Fatal; use Package::Stash; +@@ -65,5 +65,3 @@ is(exception { $Bar->add_symbol('$bar', + "can add PVNV values"); -@@ -51,5 +51,3 @@ is(ref($constant), 'CODE', "expanded a c - # was here) - is(ref($stash->get_symbol('$glob')), '', "nothing yet"); - is(ref($stash->get_or_add_symbol('$glob')), 'SCALAR', "got an empty scalar"); + use_ok('CompileTime'); - -done_testing; -diff -up Package-Stash-XS-0.17/t/10-synopsis.t.orig Package-Stash-XS-0.17/t/10-synopsis.t ---- Package-Stash-XS-0.17/t/10-synopsis.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/10-synopsis.t 2010-11-17 12:11:30.397844618 +0000 +diff -up Package-Stash-XS-0.19/t/10-synopsis.t.orig Package-Stash-XS-0.19/t/10-synopsis.t +--- Package-Stash-XS-0.19/t/10-synopsis.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/10-synopsis.t 2011-01-06 08:55:03.684920508 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; @@ -146,9 +146,9 @@ diff -up Package-Stash-XS-0.17/t/10-synopsis.t.orig Package-Stash-XS-0.17/t/10-s is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly"); - -done_testing; -diff -up Package-Stash-XS-0.17/t/20-leaks.t.orig Package-Stash-XS-0.17/t/20-leaks.t ---- Package-Stash-XS-0.17/t/20-leaks.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/20-leaks.t 2010-11-17 12:12:10.737112352 +0000 +diff -up Package-Stash-XS-0.19/t/20-leaks.t.orig Package-Stash-XS-0.19/t/20-leaks.t +--- Package-Stash-XS-0.19/t/20-leaks.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/20-leaks.t 2011-01-06 08:55:03.686920566 +0000 @@ -9,6 +9,8 @@ use Test::Requires 'Test::LeakTrace'; use Package::Stash; use Symbol; @@ -175,9 +175,9 @@ diff -up Package-Stash-XS-0.17/t/20-leaks.t.orig Package-Stash-XS-0.17/t/20-leak } - -done_testing; -diff -up Package-Stash-XS-0.17/t/21-leaks-debug.t.orig Package-Stash-XS-0.17/t/21-leaks-debug.t ---- Package-Stash-XS-0.17/t/21-leaks-debug.t.orig 2010-11-16 21:41:01.000000000 +0000 -+++ Package-Stash-XS-0.17/t/21-leaks-debug.t 2010-11-17 12:12:31.234756439 +0000 +diff -up Package-Stash-XS-0.19/t/21-leaks-debug.t.orig Package-Stash-XS-0.19/t/21-leaks-debug.t +--- Package-Stash-XS-0.19/t/21-leaks-debug.t.orig 2011-01-06 05:07:37.000000000 +0000 ++++ Package-Stash-XS-0.19/t/21-leaks-debug.t 2011-01-06 08:55:03.687920595 +0000 @@ -11,6 +11,8 @@ BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE use Package::Stash; use Symbol; diff --git a/perl-Package-Stash-XS.spec b/perl-Package-Stash-XS.spec index 8e3784b..edd5c36 100644 --- a/perl-Package-Stash-XS.spec +++ b/perl-Package-Stash-XS.spec @@ -1,13 +1,13 @@ Name: perl-Package-Stash-XS -Version: 0.17 -Release: 2%{?dist} +Version: 0.19 +Release: 1%{?dist} Summary: Faster and more correct implementation of the Package::Stash API Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Package-Stash-XS/ Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz Patch0: Package-Stash-XS-0.17-old-eumm.patch -Patch1: Package-Stash-XS-0.17-old-Test::More.patch +Patch1: Package-Stash-XS-0.19-old-Test::More.patch Patch2: Package-Stash-XS-0.17-no-Test-Requires.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 3:5.8.3 @@ -80,6 +80,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Package::Stash::XS.3pm* %changelog +* Thu Jan 6 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.19-1 +- Update to 0.19 (more correct validity test for scalars) +- Update patch for old Test::More versions + * Wed Nov 17 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 0.17-2 - Santitize spec for Fedora submission diff --git a/sources b/sources index 99bb5aa..3515897 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5430594809936af4add03e627c43a42a Package-Stash-XS-0.17.tar.gz +7c3a5d7f4589b0d3566d7ee9122a12c9 Package-Stash-XS-0.19.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