Hello community,
here is the log from the commit of package perl-Test-SharedFork for
openSUSE:Factory
checked in at Thu May 26 14:46:26 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++
/mounts/work_src_done/STABLE/perl-Test-SharedFork/perl-Test-SharedFork.changes
2010-11-30 20:28:50.000000000 +0100
@@ -0,0 +1,21 @@
+-------------------------------------------------------------------
+Tue Nov 30 19:20:51 UTC 2010 - [email protected]
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Tue Sep 21 23:39:22 UTC 2010 - [email protected]
+
+- remove test t/06_ completely - don't understand it's point or failure on
SLE11
+
+-------------------------------------------------------------------
+Tue Sep 21 20:29:31 UTC 2010 - [email protected]
+
+- modified tests test::builder->create and test::more done_testing()
+
+-------------------------------------------------------------------
+Tue Sep 21 03:20:14 UTC 2010 - [email protected]
+
+- initial package 0.15
+ * created by cpanspec 1.78
+
calling whatdependson for head-i586
New:
----
Test-SharedFork-0.15.tar.bz2
perl-Test-SharedFork.changes
perl-Test-SharedFork.spec
tests-need-help.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-SharedFork.spec ++++++
#
# spec file for package perl-Test-SharedFork
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Test-SharedFork
%define cpan_name Test-SharedFork
Summary: Fork test
Version: 0.15
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-SharedFork/
#Source:
http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-SharedFork-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Patch0: tests-need-help.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl >= 5.8.0
Requires: perl >= 5.8.0
%description
Test::SharedFork is utility module for Test::Builder. This module makes
forking test!
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README README.mkdn
%changelog
++++++ tests-need-help.patch ++++++
---
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();
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]