Name: perl-Parse-CPAN-Meta # dual-lifed module needs to match the epoch in perl.spec Epoch: 1 Version: 1.4200 Release: 1%{?dist} Summary: Parse META.yml and META.json CPAN metadata files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Parse-CPAN-Meta/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(CPAN::Meta::YAML) >= 0.002 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(JSON::PP) >= 2.27103 BuildRequires: perl(Module::Load::Conditional) >= 0.26 BuildRequires: perl(Test::More) >= 0.47 Requires: perl(CPAN::Meta::YAML) >= 0.002 Requires: perl(JSON::PP) >= 2.27103 Requires: perl(Module::Load::Conditional) >= 0.26 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Parse::CPAN::Meta is a parser for META.json and META.yml files, using JSON::PP and/or CPAN::Meta::YAML. %prep %setup -q -n Parse-CPAN-Meta-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=perl 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 %files %defattr(-,root,root,-) %doc Changes %{perl_privlib}/* %{_mandir}/man3/* %changelog * Fri Jan 28 2011 Iain Arnell 1:1.4200-1 - Specfile autogenerated by cpanspec 1.78. - bump epoch to match that in perl.spec - install to privlib, not vendorlib