8
0
Pascal Bleser
2010-08-27 00:56:15 +00:00
committed by Git OBS Bridge
parent 66c97baf2f
commit 1c900eb102
4 changed files with 55 additions and 57 deletions

View File

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

3
Test-Simple-0.96.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fe35677a0e98598105425146e1338f4a341585e3236426bd680117400331490
size 105888

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 27 00:55:22 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.96
-------------------------------------------------------------------
Mon Jul 5 23:16:14 UTC 2010 - jw@novell.com

View File

@@ -1,72 +1,65 @@
#
# spec file for package perl-Test-Simple
#
# vim: set sw=4 ts=4 et nu:
# norootforbuild
Name: perl-Test-Simple
%define real_name Test-Simple
Summary: Tester - test testsuites that have been built with Test::Builder
URL: http://search.cpan.org/perldoc?Test::Builder::Tester
Version: 0.96
Release: 0
Summary: Basic utilities for writing tests
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-%{version}.tar.gz
URL: http://search.cpan.org/dist/Test-Simple
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.95_02
Release: 1
Vendor: openSUSE-Education
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/%{real_name}-%{version}.tar.bz2
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Harness) >= 2.03
Requires: perl(Test::Harness) >= 2.03
Provides: perl-Test-More = %{version}
Provides: perl-Test-Builder = %{version}
%description
A module that helps you test testing modules that are built with Test::Builder.
The testing system is designed to be used by performing a three step process
for each test you wish to test. This process starts with using test_out and
test_err in advance to declare what the testsuite you are testing will output
with Test::Builder to stdout and stderr.
Author:
-------
Mark Fowler <mark@twoshortplanks.com>
Some code taken from Test::More and Test::Catch,
written by by Michael G Schwern <schwern@pobox.com>
This is an extremely simple, extremely basic module for writing tests
suitable for CPAN modules and other pursuits. If you wish to do more
complicated testing, use the Test::More module (a drop-in replacement for
this one).
%prep
%setup -n %{real_name}-%{version}
%setup -q -n "Test-Simple-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
install -d %buildroot%{_defaultdocdir}/%name
mv %buildroot%{perl_vendorlib}/Test/Tutorial.pod %buildroot%{_defaultdocdir}/%name/
cp Changes README MANIFEST %buildroot%{_defaultdocdir}/%name/
%check
%__make test
%clean
rm -rf %{buildroot}
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(644, root, root,755)
%doc %{_defaultdocdir}/%name
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/Test
%dir %{perl_vendorarch}/auto/Test/Simple
%defattr(-,root,root)
%doc Changes README TODO
%dir %{perl_vendorlib}/Test
%dir %{perl_vendorlib}/Test/Builder
%dir %{perl_vendorlib}/Test/Builder/Tester
%{perl_vendorlib}/Test/*.pm
%{perl_vendorlib}/Test/Builder/*.pm
%{perl_vendorlib}/Test/Builder/Tester/Color.pm
%{perl_vendorarch}/auto/Test/Simple/.packlist
%{perl_vendorlib}/Test/Builder.pm
%{perl_vendorlib}/Test/Simple.pm
%{perl_vendorlib}/Test/More.pm
%{perl_vendorlib}/Test/Builder
%doc %{perl_vendorlib}/Test/Tutorial.pod
%dir %{perl_vendorarch}/auto/Test
%{perl_vendorarch}/auto/Test/Simple
%doc %{perl_man3dir}/Test::Builder.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Test::Builder::*.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Test::Simple.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Test::More.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Test::Tutorial.%{perl_man3ext}%{ext_man}
/var/adm/perl-modules/%{name}
%changelog