commit f70b3dc315b76a45717f141bc5119345932c6590 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Apr 2 07:57:17 2012 -0600 initial import (rhbz#808886) .gitignore | 1 + perl-CPAN-Meta-Requirements.spec | 57 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..7708817 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPAN-Meta-Requirements-2.121.tar.gz diff --git a/perl-CPAN-Meta-Requirements.spec b/perl-CPAN-Meta-Requirements.spec new file mode 100644 index 0000000..47e7118 --- /dev/null +++ b/perl-CPAN-Meta-Requirements.spec @@ -0,0 +1,57 @@ +Name: perl-CPAN-Meta-Requirements +Version: 2.121 +Release: 1%{?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 >= 0:5.006 +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 {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes LICENSE perlcritic.rc README README.PATCHING +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Apr 01 2012 Iain Arnell <iarnell@xxxxxxxxx> 2.121-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..26afbde 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fc94d5b112e9e18aa0348ee9e659dbf2 CPAN-Meta-Requirements-2.121.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel