From 4c90e64b3d35786fff65ba7a258d1b70fa8f07287bd35636e9b7857b490beb13 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Jun 2013 15:11:03 +0000 Subject: [PATCH] Accepting request 178276 from home:coolo:update-perl update OBS-URL: https://build.opensuse.org/request/show/178276 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-Stash-XS?expand=0&rev=8 --- Package-Stash-XS-0.25.tar.gz | 3 - Package-Stash-XS-0.26.tar.gz | 3 + perl-Package-Stash-XS-old_Test-More.patch | 308 ---------------------- perl-Package-Stash-XS.changes | 8 + perl-Package-Stash-XS.spec | 23 +- 5 files changed, 15 insertions(+), 330 deletions(-) delete mode 100644 Package-Stash-XS-0.25.tar.gz create mode 100644 Package-Stash-XS-0.26.tar.gz delete mode 100644 perl-Package-Stash-XS-old_Test-More.patch diff --git a/Package-Stash-XS-0.25.tar.gz b/Package-Stash-XS-0.25.tar.gz deleted file mode 100644 index 6be16b4..0000000 --- a/Package-Stash-XS-0.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:739c5810d69a28346b35886e7335889538d1449f1365616420d8e9131aac85c4 -size 67155 diff --git a/Package-Stash-XS-0.26.tar.gz b/Package-Stash-XS-0.26.tar.gz new file mode 100644 index 0000000..519c16b --- /dev/null +++ b/Package-Stash-XS-0.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:291f88803662dc4670e6a3703e981393939f774f0ddc596ea3c501d2c7bacddd +size 73481 diff --git a/perl-Package-Stash-XS-old_Test-More.patch b/perl-Package-Stash-XS-old_Test-More.patch deleted file mode 100644 index b24bdcd..0000000 --- a/perl-Package-Stash-XS-old_Test-More.patch +++ /dev/null @@ -1,308 +0,0 @@ -diff -urN t.old/00-compile.t t/00-compile.t ---- t.old/00-compile.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/00-compile.t 2012-02-29 15:42:58.937740000 +0100 -@@ -3,7 +3,7 @@ - use strict; - use warnings; - --use Test::More; -+use Test::More qw(no_plan); - - - -diff -urN t.old/addsub.t t/addsub.t ---- t.old/addsub.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/addsub.t 2012-02-29 15:42:58.952742000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE -@@ -43,4 +43,4 @@ - is $DB::sub{'Foo::dunk'}, sprintf "%s:%d-%d", "FileName", 100, 199, - '... got the right %DB::sub value for dunk with specified args'; - --done_testing; -+#done_testing; -diff -urN t.old/author-leaks-debug.t t/author-leaks-debug.t ---- t.old/author-leaks-debug.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/author-leaks-debug.t 2012-02-29 15:42:58.968740000 +0100 -@@ -10,7 +10,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - use Test::LeakTrace; - -@@ -209,4 +209,4 @@ - } "doesn't leak on errors"; - } - --done_testing; -+#done_testing; -diff -urN t.old/author-leaks.t t/author-leaks.t ---- t.old/author-leaks.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/author-leaks.t 2012-02-29 15:42:58.984740000 +0100 -@@ -10,7 +10,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - use Test::LeakTrace; - -@@ -207,4 +207,4 @@ - } "doesn't leak on errors"; - } - --done_testing; -+#done_testing; -diff -urN t.old/basic.t t/basic.t ---- t.old/basic.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/basic.t 2012-02-29 15:42:59.001744000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - use Package::Stash; -@@ -437,4 +437,4 @@ - "module name must be a string" - ); - --done_testing; -+#done_testing; -diff -urN t.old/compile-time.t t/compile-time.t ---- t.old/compile-time.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/compile-time.t 2012-02-29 15:42:59.015741000 +0100 -@@ -2,8 +2,8 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - - use_ok('CompileTime'); - --done_testing; -+#done_testing; -diff -urN t.old/edge-cases.t t/edge-cases.t ---- t.old/edge-cases.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/edge-cases.t 2012-02-29 15:42:59.029743000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - use Package::Stash; -@@ -53,4 +53,4 @@ - is(ref($stash->get_symbol('$glob')), '', "nothing yet"); - is(ref($stash->get_or_add_symbol('$glob')), 'SCALAR', "got an empty scalar"); - --done_testing; -+#done_testing; -diff -urN t.old/extension.t t/extension.t ---- t.old/extension.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/extension.t 2012-02-29 15:42:59.044740000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - { -@@ -73,4 +73,4 @@ - - ok(!defined($Foo::{baz}), '... the %baz slot has still not been created'); - --done_testing; -+#done_testing; -diff -urN t.old/get.t t/get.t ---- t.old/get.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/get.t 2012-02-29 15:42:59.059740000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - - use Package::Stash; - use Scalar::Util; -@@ -183,4 +183,4 @@ - } - } - --done_testing; -+#done_testing; -diff -urN t.old/io.t t/io.t ---- t.old/io.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/io.t 2012-02-29 15:42:59.073742000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - { -@@ -48,4 +48,4 @@ - is($stash->get_symbol('baz'), *Foo::foo{IO}, "got the right baz"); - } - --done_testing; -+#done_testing; -diff -urN t.old/isa.t t/isa.t ---- t.old/isa.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/isa.t 2012-02-29 15:42:59.109744000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - - use Package::Stash; - -@@ -19,4 +19,4 @@ - @{$stash->get_or_add_symbol('@ISA')} = @ISA; - isa_ok('Foo', 'Bar'); - --done_testing; -+#done_testing; -diff -urN t.old/paamayim_nekdotayim.t t/paamayim_nekdotayim.t ---- t.old/paamayim_nekdotayim.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/paamayim_nekdotayim.t 2012-02-29 15:42:59.122742000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - use Package::Stash; -@@ -25,4 +25,4 @@ - "can't add symbol with ::" - ); - --done_testing; -+#done_testing; -diff -urN t.old/release-eol.t t/release-eol.t ---- t.old/release-eol.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/release-eol.t 2012-02-29 15:42:59.136743000 +0100 -@@ -8,7 +8,7 @@ - - use strict; - use warnings; --use Test::More; -+use Test::More qw(no_plan); - - eval 'use Test::EOL'; - plan skip_all => 'Test::EOL required' if $@; -diff -urN t.old/release-no-tabs.t t/release-no-tabs.t ---- t.old/release-no-tabs.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/release-no-tabs.t 2012-02-29 15:42:59.150740000 +0100 -@@ -8,7 +8,7 @@ - - use strict; - use warnings; --use Test::More; -+use Test::More qw(no_plan); - - eval 'use Test::NoTabs'; - plan skip_all => 'Test::NoTabs required' if $@; -diff -urN t.old/release-pod-coverage.t t/release-pod-coverage.t ---- t.old/release-pod-coverage.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/release-pod-coverage.t 2012-02-29 15:42:59.164740000 +0100 -@@ -8,7 +8,7 @@ - } - - --use Test::More; -+use Test::More qw(no_plan); - - eval "use Test::Pod::Coverage 1.08"; - plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" -diff -urN t.old/release-pod-syntax.t t/release-pod-syntax.t ---- t.old/release-pod-syntax.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/release-pod-syntax.t 2012-02-29 15:42:59.178741000 +0100 -@@ -7,7 +7,7 @@ - } - } - --use Test::More; -+use Test::More qw(no_plan); - - eval "use Test::Pod 1.41"; - plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; -diff -urN t.old/scalar-values.t t/scalar-values.t ---- t.old/scalar-values.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/scalar-values.t 2012-02-29 15:42:59.192741000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - use Test::Fatal; - - use B; -@@ -50,4 +50,4 @@ - is(exception { $Bar->add_symbol('$vstring', \$vstring) }, undef, - "can add vstring values"); - --done_testing; -+#done_testing; -diff -urN t.old/stash-deletion.t t/stash-deletion.t ---- t.old/stash-deletion.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/stash-deletion.t 2012-02-29 15:42:59.206741000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - - use Package::Stash; - -@@ -21,4 +21,4 @@ - ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted"); - } - --done_testing; -+#done_testing; -diff -urN t.old/synopsis.t t/synopsis.t ---- t.old/synopsis.t 2011-09-06 16:28:21.000000000 +0200 -+++ t/synopsis.t 2012-02-29 15:42:59.221740000 +0100 -@@ -2,7 +2,7 @@ - use strict; - use warnings; - use lib 't/lib'; --use Test::More; -+use Test::More qw(no_plan); - - use Package::Stash; - -@@ -16,4 +16,4 @@ - my $namespace = $stash->namespace; - is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly"); - --done_testing; -+#done_testing; diff --git a/perl-Package-Stash-XS.changes b/perl-Package-Stash-XS.changes index dc5b71a..77d59f1 100644 --- a/perl-Package-Stash-XS.changes +++ b/perl-Package-Stash-XS.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Jun 9 14:29:12 UTC 2013 - coolo@suse.com + +- updated to 0.26 + - internal refactorings to support Package::Anon stashes - this should + work now +- remove outdated perl-Package-Stash-XS-old_Test-More.patch + ------------------------------------------------------------------- Wed Feb 29 15:53:58 CET 2012 - ro@suse.de diff --git a/perl-Package-Stash-XS.spec b/perl-Package-Stash-XS.spec index 422d385..c94ce56 100644 --- a/perl-Package-Stash-XS.spec +++ b/perl-Package-Stash-XS.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Package-Stash-XS # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,33 +17,23 @@ Name: perl-Package-Stash-XS -Version: 0.25 +Version: 0.26 Release: 0 %define cpan_name Package-Stash-XS Summary: faster and more correct implementation of the Package::Stash API -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Package-Stash-XS/ Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz -Patch1: perl-Package-Stash-XS-old_Test-More.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 -#BuildRequires: perl(B) -#BuildRequires: perl(constant) -#BuildRequires: perl(File::Find) -#BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::Requires) #BuildRequires: perl(Package::Stash) #BuildRequires: perl(Package::Stash::XS) -#BuildRequires: perl(Scalar::Util) -#BuildRequires: perl(Symbol) #BuildRequires: perl(Test::LeakTrace) -#BuildRequires: perl(XSLoader) -Requires: perl(Test::Fatal) -Requires: perl(Test::More) >= 0.88 %{perl_requires} %description @@ -54,11 +44,6 @@ with a compiler. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 -%if 0%{?suse_version} <= 1110 -%patch1 -p0 -rm -f t/00-compile.t t/isa.t -%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"