9a435f
Name:           perl-Test-Simple
9a435f
Summary:        Basic utilities for writing tests
9a435f
Version:        0.98
936a06
Release:        243%{?dist}
9a435f
License:        GPL+ or Artistic
9a435f
Group:          Development/Libraries
9a435f
URL:            http://search.cpan.org/dist/Test-Simple
9a435f
Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-%{version}.tar.gz 
9a435f
BuildArch:      noarch
9a435f
BuildRequires:  perl(base)
9a435f
BuildRequires:  perl(Carp)
9a435f
BuildRequires:  perl(Cwd)
9a435f
BuildRequires:  perl(Data::Dumper)
9a435f
BuildRequires:  perl(Exporter)
9a435f
BuildRequires:  perl(ExtUtils::MakeMaker)
9a435f
BuildRequires:  perl(File::Spec)
9a435f
BuildRequires:  perl(IO::Handle)
9a435f
BuildRequires:  perl(IO::Pipe)
9a435f
BuildRequires:  perl(lib)
9a435f
BuildRequires:  perl(Test::Harness) >= 2.03
9a435f
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9a435f
Requires:       perl(Data::Dumper)
9a435f
Requires:       perl(Test::Harness) >= 2.03
9a435f
9a435f
# Drop old -tests subpackage (can be removed F21 development cycle)
9a435f
Obsoletes:      perl-Test-Simple-tests < %{version}-%{release}
9a435f
Provides:       perl-Test-Simple-tests = %{version}-%{release}
9a435f
9a435f
## testing
9a435f
#Requires:       perl-tests
9a435f
#Requires:       /usr/bin/prove
9a435f
9a435f
%{?perl_default_filter}
9a435f
9a435f
%description
9a435f
This package provides the bulk of the core testing facilities. For more
9a435f
information, see perldoc for Test::Simple, Test::More, etc.
9a435f
9a435f
This package is the CPAN component of the dual-lifed core package Test-Simple.
9a435f
9a435f
%prep
9a435f
%setup -q -n Test-Simple-%{version}
9a435f
9a435f
%build
9a435f
perl Makefile.PL INSTALLDIRS=vendor
9a435f
make %{?_smp_mflags}
9a435f
9a435f
%install
9a435f
make pure_install DESTDIR=%{buildroot}
9a435f
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
9a435f
%{_fixperms} %{buildroot}
9a435f
9a435f
%check
9a435f
make test
9a435f
9a435f
#cd %%{_libexecdir}/perl5-tests/perl-tests/
9a435f
#prove -I %%{buildroot}/blib -r t/
9a435f
9a435f
%files
9a435f
%doc Changes README examples/ t/
9a435f
%dir %{perl_vendorlib}/Test/
9a435f
%{perl_vendorlib}/Test/Builder.pm
9a435f
%{perl_vendorlib}/Test/Builder/
9a435f
%{perl_vendorlib}/Test/More.pm
9a435f
%{perl_vendorlib}/Test/Simple.pm
9a435f
%doc %{perl_vendorlib}/Test/Tutorial.pod
9a435f
%{_mandir}/man3/Test::Builder.3pm*
9a435f
%{_mandir}/man3/Test::Builder::IO::Scalar.3pm*
9a435f
%{_mandir}/man3/Test::Builder::Module.3pm*
9a435f
%{_mandir}/man3/Test::Builder::Tester.3pm*
9a435f
%{_mandir}/man3/Test::Builder::Tester::Color.3pm*
9a435f
%{_mandir}/man3/Test::More.3pm*
9a435f
%{_mandir}/man3/Test::Simple.3pm*
9a435f
%{_mandir}/man3/Test::Tutorial.3pm*
9a435f
9a435f
%changelog
936a06
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.98-243
936a06
- Mass rebuild 2013-12-27
936a06
9a435f
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-242
9a435f
- Update dependencies and comments
9a435f
9a435f
* Thu Aug 23 2012 Paul Howarth <paul@city-fan.org> - 0.98-241
9a435f
- Merge tests sub-package back into main package
9a435f
- Don't need to remove empty directories from the buildroot
9a435f
- Drop %%defattr, redundant since rpm 4.4
9a435f
- Make %%files list more explicit
9a435f
- Don't use macros for commands
9a435f
- Mark Tutorial.pod as %%doc
9a435f
- Drop explicit dependency on perl-devel
9a435f
9a435f
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-240
9a435f
- Bump release to override sub-package from perl.spec
9a435f
9a435f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-7
9a435f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9a435f
9a435f
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.98-6
9a435f
- Perl 5.16 rebuild
9a435f
9a435f
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 0.98-5
9a435f
- Specify all dependencies
9a435f
9a435f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-4
9a435f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9a435f
9a435f
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-3
9a435f
- Change path on vendor, so our debuginfo are not conflicting with
9a435f
  perl core debuginfos
9a435f
9a435f
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.98-2
9a435f
- Perl mass rebuild
9a435f
9a435f
* Thu Feb 24 2011 Iain Arnell <iarnell@gmail.com> - 0.98-1
9a435f
- Update to latest upstream version
9a435f
9a435f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-2
9a435f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9a435f
9a435f
* Sat Nov 20 2010 Iain Arnell <iarnell@gmail.com> - 0.96-1
9a435f
- Update to latest upstream version
9a435f
- Clean up spec for modern rpmbuild
9a435f
9a435f
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.94-2
9a435f
- Mass rebuild with perl-5.12.0
9a435f
9a435f
* Tue Mar 16 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.94-1
9a435f
- Specfile by Fedora::App::MaintainerTools 0.006