Name: perl-Test-Simple
Summary: Basic utilities for writing tests
Version: 0.98
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-%{version}.tar.gz
URL: http://search.cpan.org/dist/Test-Simple
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Harness) >= 2.03
Requires: perl(Test::Harness) >= 2.03
# note this is right out of perl.spec
Requires: perl-devel
## testing
#Requires: perl-tests
#Requires: /usr/bin/prove
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description
This package provides the bulk of the core testing facilities. For more
information, see perldoc for Test::Simple, Test::More, etc.
This package is the CPAN component of the dual-lifed core package Test-Simple.
%prep
%setup -q -n Test-Simple-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
#cd %{_libexecdir}/perl5-tests/perl-tests/
#prove -I %{buildroot}/blib -r t/
%files
%defattr(-,root,root,-)
%doc Changes README examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-3
- change path on vendor, so our debuginfo are not conflicting with
perl core debuginfos
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-2
- Perl mass rebuild
* Thu Feb 24 2011 Iain Arnell <iarnell@gmail.com> 0.98-1
- update to latest upstream version
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Nov 20 2010 Iain Arnell <iarnell@gmail.com> 0.96-1
- update to latest upstream version
- clean up spec for modern rpmbuild
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.94-2
- Mass rebuild with perl-5.12.0
* Tue Mar 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.94-1
- specfile by Fedora::App::MaintainerTools 0.006