forked from pool/perl-Test-Base
Accepting request 28956 from devel:languages:perl
Copy from devel:languages:perl/perl-Test-Base based on submit request 28956 from user coolo OBS-URL: https://build.opensuse.org/request/show/28956 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Base?expand=0&rev=7
This commit is contained in:
parent
b1dc980a99
commit
d8196e2e07
@ -1,11 +0,0 @@
|
||||
diff -ruN Test-Base-0.58-orig/Makefile.PL Test-Base-0.58/Makefile.PL
|
||||
--- Test-Base-0.58-orig/Makefile.PL 2009-03-07 20:22:35.000000000 +0000
|
||||
+++ Test-Base-0.58/Makefile.PL 2009-06-20 22:40:45.046098418 +0000
|
||||
@@ -7,6 +7,7 @@
|
||||
requires Spiffy => '0.30';
|
||||
requires Test::More => '0.62';
|
||||
requires Filter::Util::Call => '0';
|
||||
+requires Test::Deep => '0.100';
|
||||
|
||||
recommends 'Test::Deep';
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1919928a9ee175fc6c84cdc276a6cb6243b6e84ed4d4d4709798860d649d1281
|
||||
size 43549
|
3
Test-Base-0.59.tar.bz2
Normal file
3
Test-Base-0.59.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b6a3efbbd1203bd00fae66418c6355444b30be183f338e3eb8939fceb7bcd42
|
||||
size 44614
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||
|
||||
- enable parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 13 11:52:01 UTC 2009 - chris@computersalat.de
|
||||
|
||||
- update to 0.59
|
||||
- Fixed test dep bug reported by Alias++
|
||||
- removed useless patch
|
||||
- update desc
|
||||
- fixed build-/deps
|
||||
o added Algorithm::Diff, Text::Diff
|
||||
o fix Spiffy >= 0.30
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:42:36 CEST 2009 - chris@computersalat.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Base (Version 0.58)
|
||||
# spec file for package perl-Test-Base (Version 0.59)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 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
|
||||
@ -21,41 +21,58 @@
|
||||
Name: perl-Test-Base
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: A Data Driven Testing Framework
|
||||
Version: 0.58
|
||||
Version: 0.59
|
||||
Release: 1
|
||||
License: Artistic License ..
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/~ingy/Test-Base
|
||||
Url: http://search.cpan.org/dist/Test-Base
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Patch: %{cpan_name}-0.58-req.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.62
|
||||
#
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.15
|
||||
BuildRequires: perl(Spiffy) >= 0.30
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Spiffy) >= 0.3
|
||||
BuildRequires: perl(Text::Diff) >= 0.35
|
||||
BuildRequires: perl(YAML)
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Algorithm::Diff) >= 1.15
|
||||
Requires: perl(LWP::Simple)
|
||||
Requires: perl(Spiffy) >= 0.30
|
||||
Requires: perl(Test::Deep)
|
||||
Requires: perl(Spiffy) >= 0.3
|
||||
Requires: perl(Text::Diff) >= 0.35
|
||||
Requires: perl(YAML)
|
||||
Provides: %{cpan_name}
|
||||
|
||||
%description
|
||||
Testing is usually the ugly part of Perl module authoring. Perl gives
|
||||
you a standard way to run tests with Test::Harness, and basic testing
|
||||
primitives with Test::More. After that you are pretty much on your own
|
||||
to develop a testing framework and philosophy. Test::More encourages you
|
||||
to make your own framework by subclassing Test::Builder, but that is not
|
||||
trivial.
|
||||
|
||||
Test::Base gives you a way to write your own test framework base class
|
||||
that *is* trivial. In fact it is as simple as two lines:
|
||||
|
||||
package MyTestFramework;
|
||||
use Test::Base -Base;
|
||||
|
||||
A module called "MyTestFramework.pm" containing those two lines, will
|
||||
give all the power of Test::More and all the power of Test::Base to
|
||||
every test file that uses it. As you build up the capabilities of
|
||||
"MyTestFramework", your tests will have all of that power as well.
|
||||
|
||||
%{cpan_name} module for perl
|
||||
This module gives you a way to write your own test framework base class
|
||||
that is trivial. In fact it is as simple as two lines. It extends
|
||||
Test::More and exports all of its functions
|
||||
Author: Brian Ingerson <INGY@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make}
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
Loading…
Reference in New Issue
Block a user