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 Mon Jul 5 23:16:14 UTC 2010 - jw@novell.com

View File

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