Update to 2.125

- New upstream release 2.125
  - On Perls prior to v5.12, CPAN::Meta::Requirements will force UNINST=1 when
    necessary to remove stale copies from ExtUtils::MakeMaker
  - Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
- README.PATCHING renamed to CONTRIBUTING
- Classify buildreqs by usage
- Add note about logically-impossible constraints to %description
This commit is contained in:
Paul Howarth 2014-03-28 11:18:27 +00:00
parent fc6ec6d670
commit 02ca4fbec5
3 changed files with 46 additions and 31 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
/CPAN-Meta-Requirements-2.121.tar.gz /CPAN-Meta-Requirements-[0-9.]*.tar.gz
/CPAN-Meta-Requirements-2.122.tar.gz

View File

@ -1,37 +1,43 @@
Name: perl-CPAN-Meta-Requirements Name: perl-CPAN-Meta-Requirements
Version: 2.122 Version: 2.125
Release: 292%{?dist} Release: 1%{?dist}
Summary: Set of version requirements for a CPAN dist Summary: Set of version requirements for a CPAN dist
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/CPAN-Meta-Requirements/ 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 Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Carp) # Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Find) # Module
BuildRequires: perl(File::Temp) BuildRequires: perl(Carp)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Script)
%endif
BuildRequires: perl(version) >= 0.77 BuildRequires: perl(version) >= 0.77
# for author/release tests # Test
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(List::Util)
BuildRequires: perl(Test::More)
# Extra Tests (not run when bootstrapping due to circular build dependencies)
%if !%{defined perl_bootstrap} && ! ( 0%{?rhel} ) %if !%{defined perl_bootstrap} && ! ( 0%{?rhel} )
BuildRequires: perl(English)
BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire) BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
BuildRequires: perl(Perl::Critic::Policy::Miscellanea::RequireRcsKeywords)
BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist::hanekomu) BuildRequires: perl(Pod::Wordlist::hanekomu)
BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Portability::Files) BuildRequires: perl(Test::Portability::Files)
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Spelling) >= 0.12, aspell-en
BuildRequires: perl(Test::Spelling) aspell-en BuildRequires: perl(Test::Version) >= 0.04
BuildRequires: perl(Test::Version)
%endif %endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter} %{?perl_default_filter}
@ -44,9 +50,12 @@ Provides: perl(CPAN::Meta::Requirements) = %{version}000
%description %description
A CPAN::Meta::Requirements object models a set of version constraints like 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. those specified in the META.yml or META.json files in CPAN distributions. It
It can be built up by adding more and more constraints, and it will reduce can be built up by adding more and more constraints, and it will reduce them
them to the simplest representation. to the simplest representation.
Logically impossible constraints will be identified immediately by thrown
exceptions.
%prep %prep
%setup -q -n CPAN-Meta-Requirements-%{version} %setup -q -n CPAN-Meta-Requirements-%{version}
@ -57,23 +66,30 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%{_fixperms} %{buildroot}/*
%check %check
%if %{defined perl_bootstrap} || ( 0%{?rhel} ) make test AUTHOR_TESTING=1
rm -rf xt %if !%{defined perl_bootstrap} && ! ( 0%{?rhel} )
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif %endif
make test TEST_FILES="t/*.t xt/*/*.t"
%files %files
%doc Changes LICENSE perlcritic.rc README README.PATCHING %doc Changes CONTRIBUTING LICENSE perlcritic.rc README
%{perl_vendorlib}/* %{perl_vendorlib}/CPAN/
%{_mandir}/man3/* %{_mandir}/man3/CPAN::Meta::Requirements.3pm*
%changelog %changelog
* Fri Mar 28 2014 Paul Howarth <paul@city-fan.org> - 2.125-1
- Update to 2.125
- On Perls prior to v5.12, CPAN::Meta::Requirements will force UNINST=1 when
necessary to remove stale copies from ExtUtils::MakeMaker
- Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
- README.PATCHING renamed to CONTRIBUTING
- Classify buildreqs by usage
- Add note about logically-impossible constraints to %%description
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.122-292 * Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.122-292
- Perl 5.18 re-rebuild of bootstrapped packages - Perl 5.18 re-rebuild of bootstrapped packages

View File

@ -1 +1 @@
37f62b1e5c254ddc852bac6872f053ba CPAN-Meta-Requirements-2.122.tar.gz 1cb395d655f47e28640374a196300ef2 CPAN-Meta-Requirements-2.125.tar.gz