forked from pool/perl-Test-Simple
0.96
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Simple?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
66c97baf2f
commit
1c900eb102
@@ -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
3
Test-Simple-0.96.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2fe35677a0e98598105425146e1338f4a341585e3236426bd680117400331490
|
||||||
|
size 105888
|
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
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
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License
|
License: Perl License
|
||||||
Version: 0.95_02
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
Release: 1
|
|
||||||
Vendor: openSUSE-Education
|
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/%{real_name}-%{version}.tar.bz2
|
|
||||||
Requires: perl = %{perl_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
|
%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
|
|
||||||
|
Reference in New Issue
Block a user