Name: perl-Test-CPAN-Meta Version: 0.25 Release: 1%{?dist} Summary: Validation of the META.yml file in a CPAN distribution License: Artistic 2.0 URL: http://search.cpan.org/dist/Test-CPAN-Meta/ Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz #Patch0: Test-CPAN-Meta-0.25-utf8.patch BuildArch: noarch # Module Build #BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Parse::CPAN::Meta) >= 0.02 BuildRequires: perl(strict) BuildRequires: perl(Test::Builder) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(IO::File) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::More) >= 0.62 # Optional Tests %if !%{defined perl_bootstrap} # Break build-cycle: perl-Test-CPAN-Meta → perl-Test-CPAN-Meta-JSON # → perl-Test-CPAN-Meta #BuildRequires: perl(Test::CPAN::Meta::JSON) %endif BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 0.08 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module was written to ensure that a META.yml file, provided with a standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of package makers and installers such as ExtUtils::MakeMaker, Module::Build and Module::Install. %prep %setup -q -n Test-CPAN-Meta-%{version} # Re-code documentation as UTF-8 #%patch0 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} make manifypods %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} %check #make test AUTOMATED_TESTING=1 %files %license LICENSE %doc Changes README examples/ %{perl_vendorlib}/Test/ #%{_mandir}/man3/Test::CPAN::Meta.3* %{_mandir}/man3/*.3* %changelog * Sun Mar 11 2018 Elbert Pol - 0.25-1 - initial rpm for OS2