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

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

 



commit 4e95f4d9f2f08c30b54e0fcaa0ffe7f110536d7b
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Jan 25 16:47:28 2011 +0000

    Update to 0.21
    
    New upstream release 0.21
    - Make the leak tests author-only, since some smokers run release tests
    - Fix some XS forward compat stuff
    
    Update patches to apply cleanly

 .gitignore                                         |    2 +-
 Package-Stash-XS-0.20-no-Test::LeakTrace.patch     |   26 --------------------
 Package-Stash-XS-0.21-no-Test::LeakTrace.patch     |   26 ++++++++++++++++++++
 ...h => Package-Stash-XS-0.21-old-Test::More.patch |   12 ++++----
 perl-Package-Stash-XS.spec                         |   14 +++++++---
 sources                                            |    2 +-
 6 files changed, 44 insertions(+), 38 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2c6f041..d896e5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Package-Stash-XS-0.20.tar.gz
+/Package-Stash-XS-0.21.tar.gz
diff --git a/Package-Stash-XS-0.21-no-Test::LeakTrace.patch b/Package-Stash-XS-0.21-no-Test::LeakTrace.patch
new file mode 100644
index 0000000..424bdd3
--- /dev/null
+++ b/Package-Stash-XS-0.21-no-Test::LeakTrace.patch
@@ -0,0 +1,26 @@
+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-12 09:17:41.622919245 +0000
++++ Package-Stash-XS-0.20/t/author-20-leaks.t	2011-01-12 09:19:44.023423136 +0000
+@@ -12,7 +12,8 @@ use warnings;
+ use lib 't/lib';
+ use Test::More;
+ use Test::Fatal;
+-use Test::LeakTrace;
++eval "use Test::LeakTrace";
++plan skip_all => "Test::LeakTrace required for this test" if $@;
+ 
+ use Package::Stash;
+ use Symbol;
+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-12 09:17:41.623919274 +0000
++++ Package-Stash-XS-0.20/t/author-21-leaks-debug.t	2011-01-12 09:20:02.733958255 +0000
+@@ -12,7 +12,8 @@ use warnings;
+ use lib 't/lib';
+ use Test::More;
+ use Test::Fatal;
+-use Test::LeakTrace;
++eval "use Test::LeakTrace";
++plan skip_all => "Test::LeakTrace required for this test" if $@;
+ 
+ BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
+ 
diff --git a/Package-Stash-XS-0.20-old-Test::More.patch b/Package-Stash-XS-0.21-old-Test::More.patch
similarity index 91%
rename from Package-Stash-XS-0.20-old-Test::More.patch
rename to Package-Stash-XS-0.21-old-Test::More.patch
index b9c18de..a470aea 100644
--- a/Package-Stash-XS-0.20-old-Test::More.patch
+++ b/Package-Stash-XS-0.21-old-Test::More.patch
@@ -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/release-20-leaks.t.orig Package-Stash-XS-0.20/t/release-20-leaks.t
---- Package-Stash-XS-0.20/t/release-20-leaks.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/release-20-leaks.t	2011-01-12 09:16:54.177559027 +0000
+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
 @@ -17,6 +17,8 @@ use Test::LeakTrace;
  use Package::Stash;
  use Symbol;
@@ -175,9 +175,9 @@ diff -up Package-Stash-XS-0.20/t/release-20-leaks.t.orig Package-Stash-XS-0.20/t
  }
 -
 -done_testing;
-diff -up Package-Stash-XS-0.20/t/release-21-leaks-debug.t.orig Package-Stash-XS-0.20/t/release-21-leaks-debug.t
---- Package-Stash-XS-0.20/t/release-21-leaks-debug.t.orig	2011-01-11 17:35:44.000000000 +0000
-+++ Package-Stash-XS-0.20/t/release-21-leaks-debug.t	2011-01-12 09:16:54.177559027 +0000
+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
 @@ -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 8fc55e5..b1f5283 100644
--- a/perl-Package-Stash-XS.spec
+++ b/perl-Package-Stash-XS.spec
@@ -1,5 +1,5 @@
 Name:		perl-Package-Stash-XS
-Version:	0.20
+Version:	0.21
 Release:	1%{?dist}
 Summary:	Faster and more correct implementation of the Package::Stash API
 Group:		Development/Libraries
@@ -7,8 +7,8 @@ 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.20-old-Test::More.patch
-Patch2:		Package-Stash-XS-0.20-no-Test::LeakTrace.patch
+Patch1:		Package-Stash-XS-0.21-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
 BuildRequires:	perl(ExtUtils::MakeMaker)
@@ -66,7 +66,7 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 chmod -R u+w %{buildroot}
 
 %check
-make test RELEASE_TESTING=1
+make test AUTHOR_TESTING=1 RELEASE_TESTING=1
 
 %clean
 rm -rf %{buildroot}
@@ -79,6 +79,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::Stash::XS.3pm*
 
 %changelog
+* Tue Jan 25 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.21-1
+- Update to 0.21
+  - Make the leak tests author-only, since some smokers run release tests
+  - Fix some XS forward compat stuff
+- Update patches to apply cleanly
+
 * Wed Jan 12 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.20-1
 - Update to 0.20
   - Lower perl prereq to 5.8.1
diff --git a/sources b/sources
index 2d06477..cdb43b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-81ff568107ba4777186e0872b4be69b7  Package-Stash-XS-0.20.tar.gz
+a0a6e4099c7ecfdb7a64ad1a673109eb  Package-Stash-XS-0.21.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