Accepting request 226359 from devel:languages:perl
update OBS-URL: https://build.opensuse.org/request/show/226359 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-SharedFork?expand=0&rev=11
This commit is contained in:
commit
2be09dbf78
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c118ca297cf9c877c625f12d2a2f916f6f425c203755f59712d63213e7811b21
|
|
||||||
size 28865
|
|
3
Test-SharedFork-0.23.tar.gz
Normal file
3
Test-SharedFork-0.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ea0100a5ca2f0eb9323651bc6019be16c54b44549c93743f96185d09c8ae7bc
|
||||||
|
size 14814
|
@ -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
|
Mon Dec 24 14:28:25 UTC 2012 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Test-SharedFork
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,37 +17,25 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Test-SharedFork
|
Name: perl-Test-SharedFork
|
||||||
Version: 0.21
|
Version: 0.23
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Test-SharedFork
|
%define cpan_name Test-SharedFork
|
||||||
Summary: Fork test
|
Summary: fork test
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Test-SharedFork/
|
Url: http://search.cpan.org/dist/Test-SharedFork/
|
||||||
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
|
||||||
Patch0: tests-need-help.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(App::Prove)
|
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(Test::Requires)
|
||||||
#BuildRequires: perl(inc::Module::Install)
|
Requires: perl(Test::More) >= 0.88
|
||||||
#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)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -59,22 +47,20 @@ This module merges test count with parent process & child process.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes cpanfile LICENSE README.md README.mkdn
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -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();
|
|
Loading…
Reference in New Issue
Block a user