From 26448209d04f513bb68a1d3bdfb3a6d0d9ef38ed Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Wed, 29 Jun 2016 10:36:46 +0100
Subject: Update to 1.4421
- New upstream release 1.4421
- Add CPAN_META_JSON_BACKEND to allow requesting non-JSON.pm backends
- Add CPAN_META_JSON_DECODER to allow Mojo::JSON/JSON::Tiny to be used just
for decoding
- Re-encode strings before decode_json since that expects bytes
- Add test cases for wide characters in META files
- Bump JSON::PP prerequisite to 2.27300 to work around a bug before perl
5.8.7; includes a test to confirm correct behavior
- BR: perl-generators
- Simplify find command using -delete
---
perl-Parse-CPAN-Meta.spec | 26 +++++++++++++++++++++-----
sources | 2 +-
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/perl-Parse-CPAN-Meta.spec b/perl-Parse-CPAN-Meta.spec
index 1dbd377..afaab13 100644
--- a/perl-Parse-CPAN-Meta.spec
+++ b/perl-Parse-CPAN-Meta.spec
@@ -1,8 +1,8 @@
Name: perl-Parse-CPAN-Meta
# dual-lifed module needs to match the epoch in perl.spec
Epoch: 1
-Version: 1.4417
-Release: 366%{?dist}
+Version: 1.4421
+Release: 1%{?dist}
Summary: Parse META.yml and META.json CPAN meta-data files
License: GPL+ or Artistic
Group: Development/Libraries
@@ -10,6 +10,9 @@ URL: http://search.cpan.org/dist/Parse-CPAN-Meta/
Source0:
http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-%{version}.tar.gz
BuildArch: noarch
# Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -19,13 +22,14 @@ BuildRequires: perl(Carp)
BuildRequires: perl(CPAN::Meta::YAML) >= 0.011
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
-BuildRequires: perl(JSON::PP) >= 2.27200
+BuildRequires: perl(JSON::PP) >= 2.27300
BuildRequires: perl(strict)
# Test Suite
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.82
+BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(YAML)
# Optional Tests
@@ -41,7 +45,7 @@ BuildRequires: perl(JSON) >= 2.5
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.27200
+Requires: perl(JSON::PP) >= 2.27300
%description
Parse::CPAN::Meta is a parser for META.json and META.yml files, using JSON::PP
@@ -64,7 +68,7 @@ make %{?_smp_mflags}
%install
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}
%check
@@ -77,6 +81,18 @@ make test
%{_mandir}/man3/Parse::CPAN::Meta.3*
%changelog
+* Wed Jun 29 2016 Paul Howarth <[email protected]> - 1:1.4421-1
+- Update to 1.4421
+ - Add CPAN_META_JSON_BACKEND to allow requesting non-JSON.pm backends
+ - Add CPAN_META_JSON_DECODER to allow Mojo::JSON/JSON::Tiny to be used just
+ for decoding
+ - Re-encode strings before decode_json since that expects bytes
+ - Add test cases for wide characters in META files
+ - Bump JSON::PP prerequisite to 2.27300 to work around a bug before perl
+ 5.8.7; includes a test to confirm correct behavior
+- BR: perl-generators
+- Simplify find command using -delete
+
* Wed May 18 2016 Jitka Plesnikova <[email protected]> - 1:1.4417-366
- Perl 5.24 re-rebuild of bootstrapped packages
diff --git a/sources b/sources
index f479dc4..98eb4df 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b4f36533cba9ec56bef6f3797b7f4d84 Parse-CPAN-Meta-1.4417.tar.gz
+68af202068e42f42795e0750f0e97490 Parse-CPAN-Meta-1.4421.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Parse-CPAN-Meta.git/commit/?h=master&id=26448209d04f513bb68a1d3bdfb3a6d0d9ef38ed
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]