%define upstream_name Test-Prereq %define upstream_version 1.038 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 4 Summary: Check if Makefile.PL has the right pre-requisites License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.550.0 BuildRequires: perl(Module::CoreList) BuildRequires: perl(Module::Info) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::More) >= 0.950.0 BuildArch: noarch %description The prereq_ok() function examines the modules it finds in blib/lib/, blib/script, and the test files it finds in t/ (and test.pl). It figures out which modules they use, skips the modules that are in the Perl core, and compares the remaining list of modules to those in the PREREQ_PM section of Makefile.PL. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install %makeinstall_std %check # this test rely on network to fetch data from CPAN rm -f t/get_from_prereqs.t perl -pi -e 's/get_from_prereqs.t//' t/test_manifest %make test %files %doc Changes LICENSE META.json META.yml MYMETA.yml README examples %{perl_vendorlib}/Test %{_mandir}/*/* %changelog * Sun Oct 19 2014 umeabot <umeabot> 1.38.0-4.mga5 + Revision: 790261 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 1.38.0-3.mga5 + Revision: 741690 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.38.0-2.mga5 + Revision: 686520 - Mageia 5 Mass Rebuild * Mon Feb 10 2014 jquelin <jquelin> 1.38.0-1.mga5 + Revision: 588724 - update to 1.038 * Fri Oct 18 2013 umeabot <umeabot> 1.37.0-5.mga4 + Revision: 515349 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.37.0-4.mga3 + Revision: 373706 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 1.37.0-3.mga1 + Revision: 32455 - mageia rebuild - imported package perl-Test-Prereq * Wed Sep 01 2010 Jérôme Quelin <jquelin@mandriva.org> 1.37.0-3mdv2011.0 + Revision: 575126 - rebuild with %%perl_convert_version * Wed Sep 01 2010 Jérôme Quelin <jquelin@mandriva.org> 1.037-2mdv2011.0 + Revision: 575118 - rebuild * Sun Jun 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.037-1mdv2010.0 + Revision: 383543 - update to new version 1.037 * Tue Jan 20 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.036-1mdv2009.1 + Revision: 331593 - update to new version 1.036 * Tue Sep 02 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.034-1mdv2009.0 + Revision: 279087 - new version * Thu Jul 31 2008 Thierry Vignaud <tv@mandriva.org> 1.033-4mdv2009.0 + Revision: 258577 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 1.033-3mdv2009.0 + Revision: 246549 - rebuild * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.033-1mdv2008.1 + Revision: 140721 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Thu Mar 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.033-1mdv2007.1 + Revision: 147957 - drop network-dependent tests - this is a noarch package - Import perl-Test-Prereq * Thu Mar 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.033-1mdv2007.1 - first mdv release