Name: perl-CPAN-Meta-Requirements Version: 2.121 Release: 2%{?dist} Summary: Set of version requirements for a CPAN dist License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CPAN-Meta-Requirements/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Script) BuildRequires: perl(version) >= 0.77 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # CPAN-Meta-Requirements was split from CPAN-Meta Conflicts: perl-CPAN-Meta < 2.120921 %{?perl_default_filter} %description A CPAN::Meta::Requirements object models a set of version constraints like those specified in the META.yml or META.json files in CPAN distributions. It can be built up by adding more and more constraints, and it will reduce them to the simplest representation. %prep %setup -q -n CPAN-Meta-Requirements-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes LICENSE perlcritic.rc README README.PATCHING %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Apr 02 2012 Iain Arnell 2.121-2 - clean up spec following review * Sun Apr 01 2012 Iain Arnell 2.121-1 - Specfile autogenerated by cpanspec 1.79.