Name: perl-Test-Distribution Version: 2.00 Release: 7%{?dist} Summary: Perform tests on all modules of a distribution License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Distribution/ Source0: http://www.cpan.org/authors/id/S/SR/SRSHAH/Test-Distribution-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(File::Find::Rule) >= 0.03 BuildRequires: perl(Module::CoreList) >= 1.93 BuildRequires: perl(Pod::Coverage) >= 0.17 BuildRequires: perl(Test::Pod) >= 0.95 BuildRequires: perl(Test::Pod::Coverage) # these are considered "optional"; autoreq doesn't pick them up Requires: perl(File::Find::Rule) >= 0.03 Requires: perl(Module::CoreList) >= 1.93 Requires: perl(Module::Signature) Requires: perl(Pod::Coverage) >= 0.17 Requires: perl(Test::Pod) >= 0.95 Requires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description When using this module in a test script, it goes through all the modules in your distribution, checks their POD, checks that they compile OK and checks that they all define a $VERSION. %prep %setup -q -n Test-Distribution-%{version} for f in README Changes.pod; do /usr/bin/iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf8 mv ${f}.utf8 ${f} done %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf %{buildroot} ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot} %check LC_ALL=C ./Build test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes.pod README %{perl_vendorlib}/Test/ %{_mandir}/man3/Test::Distribution.3pm* %changelog * Tue May 18 2010 Paul Howarth - 2.00-7 - No signature test, so Module::Signature not needed as buildreq, and no need to go to great lengths to avoid clobbering ~/.gnupg - Recode README and Changes.pod as UTF8 - Run tests in "C" locale to avoid Module::Build's inability to find perl in the test suite on older distributions * Thu May 06 2010 Marcela Maslanova - 2.00-6 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 2.00-5 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Oct 26 2008 Chris Weyl 2.00-2 - Changes -> Changes.pod in doc * Sun Oct 26 2008 Chris Weyl 2.00-1 - update to 2.00 * Wed Mar 5 2008 Tom "spot" Callaway 1.26-5 - rebuild for new perl * Sat Mar 10 2007 Chris Weyl 1.26-4 - don't mess with debuginfo, just disable it. - appease Module::Signature/gpg * Thu Mar 01 2007 Chris Weyl 1.26-3 - cause rm to not fail on non-existance of debug*list in check. * Wed Dec 06 2006 Chris Weyl 1.26-2 - bump * Wed Dec 06 2006 Chris Weyl 1.26-1 - Specfile autogenerated by cpanspec 1.69.1.