[perl-Package-Stash-XS] Update to 0.22

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

 



commit 802846c439b94c9f901dfa07554a24e48729963e
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sat Mar 5 13:42:03 2011 +0000

    Update to 0.22
    
    New upstream release 0.22
    - Make the namespace cache lazy and weak, in case the stash is deleted
    - However, this doesn't work on 5.8, so disable the namespace caching
      entirely there
    
    Update patches to apply cleanly

 .gitignore                                         |    2 +-
 ...h => Package-Stash-XS-0.22-old-Test::More.patch |   72 ++++++++++----------
 perl-Package-Stash-XS.spec                         |   13 +++-
 sources                                            |    2 +-
 4 files changed, 48 insertions(+), 41 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d896e5f..725b0b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Package-Stash-XS-0.21.tar.gz
+/Package-Stash-XS-0.22.tar.gz
diff --git a/Package-Stash-XS-0.21-old-Test::More.patch b/Package-Stash-XS-0.22-old-Test::More.patch
similarity index 58%
rename from Package-Stash-XS-0.21-old-Test::More.patch
rename to Package-Stash-XS-0.22-old-Test::More.patch
index a470aea..dc5d0aa 100644
--- a/Package-Stash-XS-0.21-old-Test::More.patch
+++ b/Package-Stash-XS-0.22-old-Test::More.patch
@@ -1,6 +1,6 @@
-diff -up Package-Stash-XS-0.20/t/01-basic.t.orig Package-Stash-XS-0.20/t/01-basic.t
---- Package-Stash-XS-0.20/t/01-basic.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/01-basic.t	2011-01-12 09:16:54.151558280 +0000
+diff -up Package-Stash-XS-0.22/t/01-basic.t.tm Package-Stash-XS-0.22/t/01-basic.t
+--- Package-Stash-XS-0.22/t/01-basic.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/01-basic.t	2011-03-05 09:45:46.463400267 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -16,9 +16,9 @@ diff -up Package-Stash-XS-0.20/t/01-basic.t.orig Package-Stash-XS-0.20/t/01-basi
  }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/02-extension.t.orig Package-Stash-XS-0.20/t/02-extension.t
---- Package-Stash-XS-0.20/t/02-extension.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/02-extension.t	2011-01-12 09:16:54.172558884 +0000
+diff -up Package-Stash-XS-0.22/t/02-extension.t.tm Package-Stash-XS-0.22/t/02-extension.t
+--- Package-Stash-XS-0.22/t/02-extension.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/02-extension.t	2011-03-05 09:45:46.477402444 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -28,15 +28,15 @@ diff -up Package-Stash-XS-0.20/t/02-extension.t.orig Package-Stash-XS-0.20/t/02-
  use Test::Fatal;
  
  {
-@@ -70,5 +70,3 @@ is(exception {
+@@ -72,5 +72,3 @@ is(exception {
  }, undef, '... created %Foo::baz successfully');
  
  ok(!defined($Foo::{baz}), '... the %baz slot has still not been created');
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/03-io.t.orig Package-Stash-XS-0.20/t/03-io.t
---- Package-Stash-XS-0.20/t/03-io.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/03-io.t	2011-01-12 09:16:54.173558912 +0000
+diff -up Package-Stash-XS-0.22/t/03-io.t.tm Package-Stash-XS-0.22/t/03-io.t
+--- Package-Stash-XS-0.22/t/03-io.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/03-io.t	2011-03-05 09:45:46.477402444 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -52,9 +52,9 @@ diff -up Package-Stash-XS-0.20/t/03-io.t.orig Package-Stash-XS-0.20/t/03-io.t
  }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/04-get.t.orig Package-Stash-XS-0.20/t/04-get.t
---- Package-Stash-XS-0.20/t/04-get.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/04-get.t	2011-01-12 09:16:54.174558941 +0000
+diff -up Package-Stash-XS-0.22/t/04-get.t.tm Package-Stash-XS-0.22/t/04-get.t
+--- Package-Stash-XS-0.22/t/04-get.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/04-get.t	2011-03-05 09:45:46.477402444 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -70,9 +70,9 @@ diff -up Package-Stash-XS-0.20/t/04-get.t.orig Package-Stash-XS-0.20/t/04-get.t
  }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/05-isa.t.orig Package-Stash-XS-0.20/t/05-isa.t
---- Package-Stash-XS-0.20/t/05-isa.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/05-isa.t	2011-01-12 09:16:54.174558941 +0000
+diff -up Package-Stash-XS-0.22/t/05-isa.t.tm Package-Stash-XS-0.22/t/05-isa.t
+--- Package-Stash-XS-0.22/t/05-isa.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/05-isa.t	2011-03-05 09:45:46.478402600 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -92,9 +92,9 @@ diff -up Package-Stash-XS-0.20/t/05-isa.t.orig Package-Stash-XS-0.20/t/05-isa.t
 -
 -done_testing;
 +}
-diff -up Package-Stash-XS-0.20/t/06-addsub.t.orig Package-Stash-XS-0.20/t/06-addsub.t
---- Package-Stash-XS-0.20/t/06-addsub.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/06-addsub.t	2011-01-12 09:16:54.175558970 +0000
+diff -up Package-Stash-XS-0.22/t/06-addsub.t.tm Package-Stash-XS-0.22/t/06-addsub.t
+--- Package-Stash-XS-0.22/t/06-addsub.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/06-addsub.t	2011-03-05 09:45:46.478402600 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -110,27 +110,27 @@ diff -up Package-Stash-XS-0.20/t/06-addsub.t.orig Package-Stash-XS-0.20/t/06-add
      '... got the right %DB::sub value for dunk with specified args';
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/07-edge-cases.t.orig Package-Stash-XS-0.20/t/07-edge-cases.t
---- Package-Stash-XS-0.20/t/07-edge-cases.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/07-edge-cases.t	2011-01-12 09:16:54.175558970 +0000
+diff -up Package-Stash-XS-0.22/t/07-edge-cases.t.tm Package-Stash-XS-0.22/t/07-edge-cases.t
+--- Package-Stash-XS-0.22/t/07-edge-cases.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/07-edge-cases.t	2011-03-05 09:46:27.063715248 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
  use lib 't/lib';
 -use Test::More;
-+use Test::More tests => 14;
++use Test::More tests => 16;
  use Test::Fatal;
  
  use Package::Stash;
-@@ -65,5 +65,3 @@ is(exception { $Bar->add_symbol('$bar', 
-    "can add PVNV values");
- 
- use_ok('CompileTime');
+@@ -80,5 +80,3 @@ use_ok('CompileTime');
+     }
+     ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted");
+ }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/10-synopsis.t.orig Package-Stash-XS-0.20/t/10-synopsis.t
---- Package-Stash-XS-0.20/t/10-synopsis.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/10-synopsis.t	2011-01-12 09:16:54.176558998 +0000
+diff -up Package-Stash-XS-0.22/t/10-synopsis.t.tm Package-Stash-XS-0.22/t/10-synopsis.t
+--- Package-Stash-XS-0.22/t/10-synopsis.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/10-synopsis.t	2011-03-05 09:45:46.479402756 +0000
 @@ -2,7 +2,7 @@
  use strict;
  use warnings;
@@ -146,9 +146,9 @@ diff -up Package-Stash-XS-0.20/t/10-synopsis.t.orig Package-Stash-XS-0.20/t/10-s
  is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly");
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/author-20-leaks.t.orig Package-Stash-XS-0.20/t/author-20-leaks.t
---- Package-Stash-XS-0.20/t/author-20-leaks.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/author-20-leaks.t	2011-01-12 09:16:54.177559027 +0000
+diff -up Package-Stash-XS-0.22/t/author-20-leaks.t.tm Package-Stash-XS-0.22/t/author-20-leaks.t
+--- Package-Stash-XS-0.22/t/author-20-leaks.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/author-20-leaks.t	2011-03-05 09:45:46.480402911 +0000
 @@ -17,6 +17,8 @@ use Test::LeakTrace;
  use Package::Stash;
  use Symbol;
@@ -175,9 +175,9 @@ diff -up Package-Stash-XS-0.20/t/author-20-leaks.t.orig Package-Stash-XS-0.20/t/
  }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/author-21-leaks-debug.t.orig Package-Stash-XS-0.20/t/author-21-leaks-debug.t
---- Package-Stash-XS-0.20/t/author-21-leaks-debug.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/author-21-leaks-debug.t	2011-01-12 09:16:54.177559027 +0000
+diff -up Package-Stash-XS-0.22/t/author-21-leaks-debug.t.tm Package-Stash-XS-0.22/t/author-21-leaks-debug.t
+--- Package-Stash-XS-0.22/t/author-21-leaks-debug.t.tm	2011-03-04 19:12:28.000000000 +0000
++++ Package-Stash-XS-0.22/t/author-21-leaks-debug.t	2011-03-05 09:45:46.480402911 +0000
 @@ -19,6 +19,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 b18c2de..752943a 100644
--- a/perl-Package-Stash-XS.spec
+++ b/perl-Package-Stash-XS.spec
@@ -1,13 +1,13 @@
 Name:		perl-Package-Stash-XS
-Version:	0.21
-Release:	2%{?dist}
+Version:	0.22
+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.20-old-eumm.patch
-Patch1:		Package-Stash-XS-0.21-old-Test::More.patch
+Patch1:		Package-Stash-XS-0.22-old-Test::More.patch
 Patch2:		Package-Stash-XS-0.21-no-Test::LeakTrace.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	perl >= 3:5.8.1
@@ -79,6 +79,13 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::Stash::XS.3pm*
 
 %changelog
+* Sat Mar  5 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.22-1
+- Update to 0.22
+  - Make the namespace cache lazy and weak, in case the stash is deleted
+  - However, this doesn't work on 5.8, so disable the namespace caching
+    entirely there
+- Update patches to apply cleanly
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index cdb43b5..7090717 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0a6e4099c7ecfdb7a64ad1a673109eb  Package-Stash-XS-0.21.tar.gz
+0c74faa792015e5e3eb852b10c9e1d72  Package-Stash-XS-0.22.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