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
This commit is contained in:
parent
03c81b65ae
commit
4e95f4d9f2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/Package-Stash-XS-0.20.tar.gz
|
||||
/Package-Stash-XS-0.21.tar.gz
|
||||
|
@ -1,26 +0,0 @@
|
||||
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-12 09:17:41.622919245 +0000
|
||||
+++ Package-Stash-XS-0.20/t/release-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/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-12 09:17:41.623919274 +0000
|
||||
+++ Package-Stash-XS-0.20/t/release-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
|
||||
|
26
Package-Stash-XS-0.21-no-Test::LeakTrace.patch
Normal file
26
Package-Stash-XS-0.21-no-Test::LeakTrace.patch
Normal file
@ -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
|
||||
|
@ -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;
|
@ -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@city-fan.org> - 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@city-fan.org> - 0.20-1
|
||||
- Update to 0.20
|
||||
- Lower perl prereq to 5.8.1
|
||||
|
Loading…
Reference in New Issue
Block a user