Update to 2.150010
- New upstream release 2.150010 Added: - Merged Parse::CPAN::Meta 1.4420 into this distribution Fixed: - CPAN::Meta::Prereqs now fully accepts phases and types starting with 'x_'; new 'phases' and 'types_in' interfaces have been added - No longer relies on JSON backend for data structure cloning; this is much faster than using JSON::PP - The cloning routine would raise an error on expected types when it previously would stringify; the old behavior is restored - Fixed used of Encode in Parse::CPAN::Meta::load_json_string (cherry picked from Parse::CPAN::Meta 1.4422) - Added "use warnings" to Parse::CPAN::Meta - The YAML and JSON backend variables are ignored when building/testing the perl core itself, where non-core backends are not yet installed Tests: - The 'extra_mappings' feature for meta merging is now tested and documented - During tests, delete new environment variables added by Parse::CPAN::Meta 1.4418 Spec: - Clarifies acceptable values for booleans - Cleaned up text and links of historical specs - Obsolete old perl-Parse-CPAN-Meta package - Simplify find command using -delete
This commit is contained in:
parent
27f0e6750e
commit
84126dd863
@ -1,19 +1,25 @@
|
|||||||
Name: perl-CPAN-Meta
|
Name: perl-CPAN-Meta
|
||||||
Summary: Distribution metadata for a CPAN dist
|
Summary: Distribution metadata for a CPAN dist
|
||||||
Version: 2.150005
|
Version: 2.150010
|
||||||
Release: 365%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/CPAN-Meta/
|
URL: http://search.cpan.org/dist/CPAN-Meta/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||||
# Module
|
# Module
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
||||||
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.011
|
||||||
|
BuildRequires: perl(Encode)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(JSON::PP) >= 2.27300
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(version) >= 0.88
|
BuildRequires: perl(version) >= 0.88
|
||||||
@ -22,21 +28,32 @@ BuildRequires: perl(warnings)
|
|||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(File::Basename)
|
BuildRequires: perl(File::Basename)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(File::Spec::Functions)
|
||||||
BuildRequires: perl(File::Temp) >= 0.20
|
BuildRequires: perl(File::Temp) >= 0.20
|
||||||
BuildRequires: perl(IO::Dir)
|
BuildRequires: perl(IO::Dir)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(overload)
|
BuildRequires: perl(overload)
|
||||||
|
BuildRequires: perl(Storable)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(utf8)
|
BuildRequires: perl(utf8)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
# Runtime
|
# Runtime
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
Requires: perl(CPAN::Meta::YAML) >= 0.011
|
||||||
|
Requires: perl(Encode)
|
||||||
|
Requires: perl(JSON::PP) >= 2.27300
|
||||||
Requires: perl(version) >= 0.88
|
Requires: perl(version) >= 0.88
|
||||||
|
|
||||||
|
# Parse-CPAN-Meta merged into CPAN-Meta 2.150008
|
||||||
|
# Provide not added in order to avoid either epoch bump or self-obsoletion
|
||||||
|
Obsoletes: perl-Parse-CPAN-Meta < 1:1.4422-2
|
||||||
|
|
||||||
|
# Avoid doc-file dependencies
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
# Remove under-specified dependencies
|
# Remove under-specified dependencies
|
||||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Meta::Converter\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Meta::Converter\\)$
|
||||||
%global __requires_exclude %{__requires_exclude}|^perl\\(CPAN::Meta::Requirements\\)$
|
%global __requires_exclude %{__requires_exclude}|^perl\\(CPAN::Meta::Requirements\\)$
|
||||||
%global __requires_exclude %{__requires_exclude}|^perl\\(Parse::CPAN::Meta\\) >= 1.4400
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Software distributions released to the CPAN include a META.json or, for older
|
Software distributions released to the CPAN include a META.json or, for older
|
||||||
@ -55,8 +72,8 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot} UNINST=0
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -66,6 +83,7 @@ make test
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes CONTRIBUTING.mkdn history README Todo t/
|
%doc Changes CONTRIBUTING.mkdn history README Todo t/
|
||||||
%{perl_vendorlib}/CPAN/
|
%{perl_vendorlib}/CPAN/
|
||||||
|
%{perl_vendorlib}/Parse/
|
||||||
%{_mandir}/man3/CPAN::Meta.3*
|
%{_mandir}/man3/CPAN::Meta.3*
|
||||||
%{_mandir}/man3/CPAN::Meta::Converter.3*
|
%{_mandir}/man3/CPAN::Meta::Converter.3*
|
||||||
%{_mandir}/man3/CPAN::Meta::Feature.3*
|
%{_mandir}/man3/CPAN::Meta::Feature.3*
|
||||||
@ -79,8 +97,35 @@ make test
|
|||||||
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
|
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
|
||||||
%{_mandir}/man3/CPAN::Meta::Spec.3*
|
%{_mandir}/man3/CPAN::Meta::Spec.3*
|
||||||
%{_mandir}/man3/CPAN::Meta::Validator.3*
|
%{_mandir}/man3/CPAN::Meta::Validator.3*
|
||||||
|
%{_mandir}/man3/Parse::CPAN::Meta.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 19 2016 Paul Howarth <paul@city-fan.org> - 2.150010-1
|
||||||
|
- Update to 2.150010
|
||||||
|
Added:
|
||||||
|
- Merged Parse::CPAN::Meta 1.4420 into this distribution
|
||||||
|
Fixed:
|
||||||
|
- CPAN::Meta::Prereqs now fully accepts phases and types starting with 'x_';
|
||||||
|
new 'phases' and 'types_in' interfaces have been added
|
||||||
|
- No longer relies on JSON backend for data structure cloning; this is much
|
||||||
|
faster than using JSON::PP
|
||||||
|
- The cloning routine would raise an error on expected types when it
|
||||||
|
previously would stringify; the old behavior is restored
|
||||||
|
- Fixed used of Encode in Parse::CPAN::Meta::load_json_string (cherry picked
|
||||||
|
from Parse::CPAN::Meta 1.4422)
|
||||||
|
- Added "use warnings" to Parse::CPAN::Meta
|
||||||
|
- The YAML and JSON backend variables are ignored when building/testing the
|
||||||
|
perl core itself, where non-core backends are not yet installed
|
||||||
|
Tests:
|
||||||
|
- The 'extra_mappings' feature for meta merging is now tested and documented
|
||||||
|
- During tests, delete new environment variables added by Parse::CPAN::Meta
|
||||||
|
1.4418
|
||||||
|
Spec:
|
||||||
|
- Clarifies acceptable values for booleans
|
||||||
|
- Cleaned up text and links of historical specs
|
||||||
|
- Obsolete old perl-Parse-CPAN-Meta package
|
||||||
|
- Simplify find command using -delete
|
||||||
|
|
||||||
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.150005-365
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.150005-365
|
||||||
- Increase release to favour standalone package
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user