Hello community,
here is the log from the commit of package perl-Package-Stash-XS for
openSUSE:Factory
checked in at Tue Jul 5 12:18:47 CEST 2011.
--------
--- perl-Package-Stash-XS/perl-Package-Stash-XS.changes 2011-03-31
10:12:23.000000000 +0200
+++
/mounts/work_src_done/STABLE/perl-Package-Stash-XS/perl-Package-Stash-XS.changes
2011-06-04 20:48:28.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Jun 4 18:47:57 UTC 2011 - [email protected]
+
+- fix build on distributions with old Test::More module
+ ( perl-Package-Stash-XS-old_Test-More.patch )
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
perl-Package-Stash-XS-old_Test-More.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Package-Stash-XS.spec ++++++
--- /var/tmp/diff_new_pack.UZSr1A/_old 2011-07-05 12:15:12.000000000 +0200
+++ /var/tmp/diff_new_pack.UZSr1A/_new 2011-07-05 12:15:12.000000000 +0200
@@ -19,14 +19,15 @@
Name: perl-Package-Stash-XS
Version: 0.22
-Release: 1
+Release: 3
License: GPL+ or Artistic
%define cpan_name Package-Stash-XS
-Summary: faster and more correct implementation of the Package::Stash
API
+Summary: Faster and more correct implementation of the Package::Stash
API
Url: http://search.cpan.org/dist/Package-Stash-XS/
Group: Development/Libraries/Perl
#Source:
http://www.cpan.org/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
+Patch1: perl-Package-Stash-XS-old_Test-More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -41,6 +42,10 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%if 0%{?suse_version} <= 1110
+%patch1 -p1
+rm t/05-isa.t
+%endif
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ perl-Package-Stash-XS-old_Test-More.patch ++++++
Index: Package-Stash-XS-0.22/t/01-basic.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/01-basic.t
+++ Package-Stash-XS-0.22/t/01-basic.t
@@ -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;
@@ -417,4 +417,4 @@ like(exception {
);
}
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/02-extension.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/02-extension.t
+++ Package-Stash-XS-0.22/t/02-extension.t
@@ -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 @@ is(exception {
ok(!defined($Foo::{baz}), '... the %baz slot has still not been created');
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/03-io.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/03-io.t
+++ Package-Stash-XS-0.22/t/03-io.t
@@ -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 @@ use Package::Stash;
is($stash->get_symbol('baz'), *Foo::foo{IO}, "got the right baz");
}
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/04-get.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/04-get.t
+++ Package-Stash-XS-0.22/t/04-get.t
@@ -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 @@ use Scalar::Util;
}
}
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/05-isa.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/05-isa.t
+++ Package-Stash-XS-0.22/t/05-isa.t
@@ -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 @@ my @ISA = ('Bar');
@{$stash->get_or_add_symbol('@ISA')} = @ISA;
isa_ok('Foo', 'Bar');
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/06-addsub.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/06-addsub.t
+++ Package-Stash-XS-0.22/t/06-addsub.t
@@ -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 @@ $foo_stash->add_symbol(
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;
Index: Package-Stash-XS-0.22/t/07-edge-cases.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/07-edge-cases.t
+++ Package-Stash-XS-0.22/t/07-edge-cases.t
@@ -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;
@@ -81,4 +81,4 @@ use_ok('CompileTime');
ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted");
}
-done_testing;
+#done_testing;
Index: Package-Stash-XS-0.22/t/10-synopsis.t
===================================================================
--- Package-Stash-XS-0.22.orig/t/10-synopsis.t
+++ Package-Stash-XS-0.22/t/10-synopsis.t
@@ -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 @@ ok(!$stash->has_symbol('$foo'), "doesn't
my $namespace = $stash->namespace;
is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works
properly");
-done_testing;
+#done_testing;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]