824affe
Name:           perl-Test-Base
23081e0
Version:        0.58
23081e0
Release:        1%{?dist}
824affe
Summary:        Data Driven Testing Framework
40bf4ca
License:        GPL+ or Artistic
824affe
Group:          Development/Libraries
824affe
URL:            http://search.cpan.org/dist/Test-Base/
824affe
Source0:        http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz
824affe
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
824affe
BuildArch:      noarch
d31079a
BuildRequires:  perl(ExtUtils::MakeMaker)
824affe
BuildRequires:  perl(Spiffy) >= 0.30
23081e0
BuildRequires:  perl(Test::Deep)
4d06eac
BuildRequires:  perl(Test::More) >= 0.62
23081e0
BuildRequires:  perl(Test::Tester)
824affe
BuildRequires:  perl(Text::Diff) >= 0.35
4d06eac
BuildRequires:  perl(YAML)
824affe
Requires:       perl(Text::Diff) >= 0.35
5ab3031
Requires:       perl(LWP::Simple)
824affe
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
824affe
824affe
%description
824affe
Testing is usually the ugly part of Perl module authoring. Perl gives you a
824affe
standard way to run tests with Test::Harness, and basic testing primitives
824affe
with Test::More. After that you are pretty much on your own to develop a
824affe
testing framework and philosophy. Test::More encourages you to make your
824affe
own framework by subclassing Test::Builder, but that is not trivial.
824affe
824affe
%prep
824affe
%setup -q -n Test-Base-%{version}
824affe
824affe
%build
824affe
%{__perl} Makefile.PL INSTALLDIRS=vendor
824affe
make %{?_smp_mflags}
824affe
824affe
%install
824affe
rm -rf $RPM_BUILD_ROOT
824affe
824affe
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
824affe
824affe
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
40d58ae
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
824affe
7268d71
%{_fixperms} $RPM_BUILD_ROOT/*
824affe
824affe
%check
824affe
make test
824affe
824affe
%clean
824affe
rm -rf $RPM_BUILD_ROOT
824affe
824affe
%files
824affe
%defattr(-,root,root,-)
713cc5d
%doc Changes README
824affe
%{perl_vendorlib}/*
824affe
%{_mandir}/man3/*
824affe
824affe
%changelog
23081e0
* Sun May 17 2009 Steven Pritchard <steve@kspei.com> 0.58-1
23081e0
- Update to 0.58.
23081e0
- BR Test::Deep and Test::Tester.
23081e0
67cfd60
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-2
67cfd60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
67cfd60
4d06eac
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.55-1
4d06eac
- Update to 0.55.
4d06eac
- Explicitly BR Test::More >= 0.62.
4d06eac
- BR YAML.
4d06eac
40bf4ca
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.54-3
4d06eac
- Rebuild for new perl
40bf4ca
b4499ae
* Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 0.54-2
b4499ae
- BR Test::More.
b4499ae
618fdb8
* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.54-1
618fdb8
- Update to 0.54.
618fdb8
d31079a
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.53-2
d31079a
- BR ExtUtils::MakeMaker.
d31079a
7268d71
* Sat Dec 09 2006 Steven Pritchard <steve@kspei.com> 0.53-1
7268d71
- Update to 0.53.
7268d71
- Use fixperms macro instead of our own chmod incantation.
7268d71
40d58ae
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.52-2
40d58ae
- Fix find option order.
40d58ae
713cc5d
* Sat Jul 01 2006 Steven Pritchard <steve@kspei.com> 0.52-1
713cc5d
- Update to 0.52.
713cc5d
824affe
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.50-2
5ab3031
- Add explicit dependencies for Text::Diff and LWP::Simple.
824affe
824affe
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.50-1
824affe
- Specfile autogenerated by cpanspec 1.65.
824affe
- Remove explicit BR: perl and Requires: perl(Spiffy).