2012-04-02 13:57:17 +00:00
|
|
|
Name: perl-CPAN-Meta-Requirements
|
2012-05-08 00:06:05 +00:00
|
|
|
Version: 2.122
|
2013-07-15 11:06:19 +00:00
|
|
|
Release: 290%{?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)
|
2012-06-01 12:38:15 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2012-04-02 13:57:17 +00:00
|
|
|
BuildRequires: perl(Test::Script)
|
2012-06-01 12:38:15 +00:00
|
|
|
%endif
|
2012-04-02 13:57:17 +00:00
|
|
|
BuildRequires: perl(version) >= 0.77
|
2012-04-02 16:12:26 +00:00
|
|
|
# for author/release tests
|
2012-07-20 14:01:08 +00:00
|
|
|
%if !%{defined perl_bootstrap} && ! ( 0%{?rhel} )
|
2012-04-02 16:12:26 +00:00
|
|
|
BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
|
|
|
|
BuildRequires: perl(Pod::Coverage::TrustPod)
|
|
|
|
BuildRequires: perl(Pod::Wordlist::hanekomu)
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
|
BuildRequires: perl(Test::Perl::Critic)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl(Test::Portability::Files)
|
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
BuildRequires: perl(Test::Spelling) aspell-en
|
|
|
|
BuildRequires: perl(Test::Version)
|
2012-06-01 12:38:15 +00:00
|
|
|
%endif
|
2012-04-02 16:12:26 +00:00
|
|
|
|
2012-04-02 13:57:17 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
2012-04-03 14:00:57 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
|
2012-04-02 13:57:17 +00:00
|
|
|
# CPAN-Meta-Requirements was split from CPAN-Meta
|
|
|
|
Conflicts: perl-CPAN-Meta < 2.120921
|
2012-04-03 14:00:57 +00:00
|
|
|
# and used to have six decimal places
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(CPAN::Meta::Requirements\\)
|
|
|
|
Provides: perl(CPAN::Meta::Requirements) = %{version}000
|
2012-04-02 13:57:17 +00:00
|
|
|
|
|
|
|
%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
|
2012-07-20 14:01:08 +00:00
|
|
|
%if %{defined perl_bootstrap} || ( 0%{?rhel} )
|
2012-06-01 12:38:15 +00:00
|
|
|
rm -rf xt
|
|
|
|
%endif
|
2012-04-02 16:12:26 +00:00
|
|
|
make test TEST_FILES="t/*.t xt/*/*.t"
|
2012-04-02 13:57:17 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE perlcritic.rc README README.PATCHING
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2013-07-15 11:06:19 +00:00
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.122-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2013-07-12 14:01:22 +00:00
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.122-8
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 10:35:31 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 14:01:08 +00:00
|
|
|
* Fri Jul 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.122-6
|
|
|
|
- Conditionalize Test::*
|
|
|
|
|
2012-07-20 11:28:46 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-10 13:08:44 +00:00
|
|
|
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.122-4
|
|
|
|
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
|
|
2012-06-06 21:27:03 +00:00
|
|
|
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.122-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-01 12:38:15 +00:00
|
|
|
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com>
|
|
|
|
- Skip some tests on bootstrap
|
|
|
|
|
2012-05-08 00:06:05 +00:00
|
|
|
* Mon May 07 2012 Iain Arnell <iarnell@gmail.com> 2.122-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-04-03 14:00:57 +00:00
|
|
|
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 2.121-3
|
|
|
|
- provide perl(CPAN::Meta::Requirements) with six decimal places
|
|
|
|
|
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 16:12:26 +00:00
|
|
|
- run release/author tests too
|
2012-04-02 14:31:58 +00:00
|
|
|
|
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.
|