perl-CPAN-Meta-Requirements/perl-CPAN-Meta-Requirements...

59 lines
1.7 KiB
RPMSpec
Raw Normal View History

2012-04-02 13:57:17 +00:00
Name: perl-CPAN-Meta-Requirements
Version: 2.121
2012-04-02 14:31:58 +00:00
Release: 2%{?dist}
2012-04-02 13:57:17 +00:00
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
2012-04-02 14:31:58 +00:00
* Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.121-2
- clean up spec following review
2012-04-02 13:57:17 +00:00
* Sun Apr 01 2012 Iain Arnell <iarnell@gmail.com> 2.121-1
- Specfile autogenerated by cpanspec 1.79.