initial import (rhbz#808886)
This commit is contained in:
parent
ac092fa536
commit
f70b3dc315
|
@ -0,0 +1 @@
|
|||
/CPAN-Meta-Requirements-2.121.tar.gz
|
|
@ -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@gmail.com> 2.121-1
|
||||
- Specfile autogenerated by cpanspec 1.79.
|
Loading…
Reference in New Issue