- updated to 0.20

- test_requires Time::HiRes for redhat.
    (berekuk++)
  - fixed TB2 support(tokuhirom)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-SharedFork?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2012-02-20 08:57:26 +00:00 committed by Git OBS Bridge
parent 0d2a30ab80
commit faef701b19
4 changed files with 43 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c99637c6f2ccf21ab5db066940d1ae7fbfe2b1a20f82c6a391ca013bf0c84f1
size 31197

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94e0772b88148354938e0a85538543b4b90ab20453d1a84d47fa56a597bb057d
size 26434

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Feb 20 08:38:23 UTC 2012 - coolo@suse.com
- updated to 0.20
- test_requires Time::HiRes for redhat.
(berekuk++)
- fixed TB2 support(tokuhirom)
-------------------------------------------------------------------
Fri Nov 18 14:51:52 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Test-SharedFork
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -15,30 +15,47 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Test-SharedFork
Version: 0.20
Release: 0
%define cpan_name Test-SharedFork
Summary: Fork test
Version: 0.18
Release: 1
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/Test-SharedFork/
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-SharedFork-%{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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl >= 5.8.0
Requires: perl >= 5.8.0
BuildRequires: perl(App::Prove)
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) >= 0.88
%{perl_requires}
%description
Test::SharedFork is utility module for Test::Builder. This module makes
forking test!
Test::SharedFork is utility module for Test::Builder.
This module makes the fork(2) manpage safety in your test case.
This module merges test count with parent process & child process.
%prep
%setup -q -n %{cpan_name}-%{version}
@ -53,18 +70,11 @@ forking 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_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README README.mkdn
%defattr(-,root,root,755)
%doc Changes README
%changelog