diff --git a/Test-SharedFork-0.21.tar.gz b/Test-SharedFork-0.21.tar.gz deleted file mode 100644 index 2109220..0000000 --- a/Test-SharedFork-0.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c118ca297cf9c877c625f12d2a2f916f6f425c203755f59712d63213e7811b21 -size 28865 diff --git a/Test-SharedFork-0.23.tar.gz b/Test-SharedFork-0.23.tar.gz new file mode 100644 index 0000000..30e6350 --- /dev/null +++ b/Test-SharedFork-0.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ea0100a5ca2f0eb9323651bc6019be16c54b44549c93743f96185d09c8ae7bc +size 14814 diff --git a/perl-Test-SharedFork.changes b/perl-Test-SharedFork.changes index 8b5eba0..fc5bcae 100644 --- a/perl-Test-SharedFork.changes +++ b/perl-Test-SharedFork.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 17 08:29:32 UTC 2014 - coolo@suse.com + +- updated to 0.23 + - 06_fail_lineno.t fails on Windows due to path separator #9 + (nanis) +- remove outdated tests-need-help.patch + ------------------------------------------------------------------- Mon Dec 24 14:28:25 UTC 2012 - lars@linux-schulserver.de diff --git a/perl-Test-SharedFork.spec b/perl-Test-SharedFork.spec index 6d2a327..0ee99e0 100644 --- a/perl-Test-SharedFork.spec +++ b/perl-Test-SharedFork.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-SharedFork # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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,37 +17,25 @@ Name: perl-Test-SharedFork -Version: 0.21 +Version: 0.23 Release: 0 -%define cpan_name Test-SharedFork -Summary: Fork test +%define cpan_name Test-SharedFork +Summary: fork test License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-SharedFork/ Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz -Patch0: tests-need-help.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(App::Prove) -BuildRequires: perl(Test::More) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Prereqs) +BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(JSON) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(parent) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(Pod::Markdown) -#BuildRequires: perl(TB2::History) -#BuildRequires: perl(Test::SharedFork) -#BuildRequires: perl(Test::SharedFork::Array) -#BuildRequires: perl(Test::SharedFork::Scalar) -#BuildRequires: perl(Test::SharedFork::Store) -#BuildRequires: perl(YAML::Tiny) -Requires: perl(Test::More) +Requires: perl(Test::More) >= 0.88 %{perl_requires} %description @@ -59,22 +47,20 @@ This module merges test count with parent process & child process. %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc Changes cpanfile LICENSE README.md README.mkdn %changelog diff --git a/tests-need-help.patch b/tests-need-help.patch deleted file mode 100644 index 369e1c4..0000000 --- a/tests-need-help.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- - t/06_fail_lineno.t | 21 --------------------- - t/08_threads.t | 2 +- - 2 files changed, 1 insertion(+), 22 deletions(-) - -Index: Test-SharedFork-0.15/t/06_fail_lineno.t -=================================================================== ---- Test-SharedFork-0.15.orig/t/06_fail_lineno.t 2010-09-10 21:43:42.000000000 -0400 -+++ /dev/null 1970-01-01 00:00:00.000000000 +0000 -@@ -1,21 +0,0 @@ --use strict; --use warnings; --use Test::More tests => 2; --use Test::SharedFork; --use File::Temp qw/tempfile/; -- --local $ENV{LANG} = "C"; -- --my $out = do { -- open my $fh, ">", \my $out or die $!; -- my $test = Test::Builder->create(); -- $test->output($fh); -- $test->failure_output($fh); -- $test->todo_output($fh); -- $test->ok(0); -- $out; --}; -- --unlike($out, qr{lib/Test/SharedFork}); --like($out, qr{t/06_fail_lineno.t line \d+\.}); -- -Index: Test-SharedFork-0.15/t/08_threads.t -=================================================================== ---- Test-SharedFork-0.15.orig/t/08_threads.t 2010-09-12 01:59:20.000000000 -0400 -+++ Test-SharedFork-0.15/t/08_threads.t 2010-09-21 19:35:20.113647922 -0400 -@@ -25,4 +25,4 @@ - exit 0; - } - --done_testing; -+done_testing();