From 84126dd863cfe10ada35b39522c490ff54637fd6 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Fri, 19 Aug 2016 15:01:15 +0100
Subject: 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
---
 perl-CPAN-Meta.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 51 insertions(+), 6 deletions(-)

diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec
index e97d1e0..9b95713 100644
--- a/perl-CPAN-Meta.spec
+++ b/perl-CPAN-Meta.spec
@@ -1,19 +1,25 @@
 Name:           perl-CPAN-Meta
 Summary:        Distribution metadata for a CPAN dist
-Version:        2.150005
-Release:        365%{?dist}
+Version:        2.150010
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/CPAN-Meta/
 Source0:        
http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
 BuildArch:      noarch
 # Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.17
 # Module
 BuildRequires:  perl(Carp)
 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(strict)
 BuildRequires:  perl(version) >= 0.88
@@ -22,21 +28,32 @@ BuildRequires:  perl(warnings)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(File::Temp) >= 0.20
 BuildRequires:  perl(IO::Dir)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(overload)
+BuildRequires:  perl(Storable)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
 # Runtime
 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
 
+# 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}
 
 # Remove under-specified dependencies
 %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\\(Parse::CPAN::Meta\\) 
>= 1.4400
 
 %description
 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}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
+make pure_install DESTDIR=%{buildroot} UNINST=0
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -66,6 +83,7 @@ make test
 %license LICENSE
 %doc Changes CONTRIBUTING.mkdn history README Todo t/
 %{perl_vendorlib}/CPAN/
+%{perl_vendorlib}/Parse/
 %{_mandir}/man3/CPAN::Meta.3*
 %{_mandir}/man3/CPAN::Meta::Converter.3*
 %{_mandir}/man3/CPAN::Meta::Feature.3*
@@ -79,8 +97,35 @@ make test
 %{_mandir}/man3/CPAN::Meta::Prereqs.3*
 %{_mandir}/man3/CPAN::Meta::Spec.3*
 %{_mandir}/man3/CPAN::Meta::Validator.3*
+%{_mandir}/man3/Parse::CPAN::Meta.3*
 
 %changelog
+* Fri Aug 19 2016 Paul Howarth <[email protected]> - 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 <[email protected]> - 2.150005-365
 - Increase release to favour standalone package
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-CPAN-Meta.git/commit/?h=master&id=84126dd863cfe10ada35b39522c490ff54637fd6
--
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]

Reply via email to