[perl-CPAN-Meta] Update to 2.142060
Paul Howarth
pghmcfc at fedoraproject.org
Mon Jul 28 13:36:42 UTC 2014
commit 20d0dd60647da9b49bdf339be497a18f3a14aceb
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Jul 28 14:30:10 2014 +0100
Update to 2.142060
- New upstream release 2.142060
- Added ability for CPAN::Meta::Converter to convert metadata fragments
(incomplete portions of a metadata structure)
- Optimized internal use of JSON for datastructure cloning
- Removed dependency on List::Util 1.33
- Clarified language around 'dynamic_config' in the Spec
- Clarified use of 'file' for the 'provides' field in the Spec
- CPAN::Meta::Merge is a new class for merging two possibly overlapping
instances of metadata, which will accept both CPAN::Meta objects and
(possibly incomplete) hashrefs of metadata
- Use %license
perl-CPAN-Meta.spec | 31 ++++++++++++++++++++++---------
sources | 2 +-
2 files changed, 23 insertions(+), 10 deletions(-)
---
diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec
index b8e73c7..40a8760 100644
--- a/perl-CPAN-Meta.spec
+++ b/perl-CPAN-Meta.spec
@@ -1,7 +1,7 @@
Name: perl-CPAN-Meta
Summary: Distribution metadata for a CPAN dist
-Version: 2.140640
-Release: 2%{?dist}
+Version: 2.142060
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
@@ -15,7 +15,6 @@ BuildRequires: perl(Carp)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008
BuildRequires: perl(JSON::PP) >= 2.27200
-BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(version) >= 0.88
@@ -26,10 +25,11 @@ BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp) >= 0.20
BuildRequires: perl(IO::Dir)
+BuildRequires: perl(List::Util)
BuildRequires: perl(overload)
BuildRequires: perl(Test::More) >= 0.88
# Runtime
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -47,31 +47,44 @@ in CPAN::Meta::Spec.
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
-
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
%check
make test
%files
-%doc Changes CONTRIBUTING history LICENSE README Todo t/
+%license LICENSE
+%doc Changes CONTRIBUTING history README Todo t/
%{perl_vendorlib}/CPAN/
%{_mandir}/man3/CPAN::Meta.3*
%{_mandir}/man3/CPAN::Meta::Converter.3*
%{_mandir}/man3/CPAN::Meta::Feature.3*
%{_mandir}/man3/CPAN::Meta::History.3*
+%{_mandir}/man3/CPAN::Meta::Merge.3*
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
%{_mandir}/man3/CPAN::Meta::Spec.3*
%{_mandir}/man3/CPAN::Meta::Validator.3*
%changelog
+* Mon Jul 28 2014 Paul Howarth <paul at city-fan.org> - 2.142060-1
+- Update to 2.142060
+ - Added ability for CPAN::Meta::Converter to convert metadata fragments
+ (incomplete portions of a metadata structure)
+ - Optimized internal use of JSON for datastructure cloning
+ - Removed dependency on List::Util 1.33
+ - Clarified language around 'dynamic_config' in the Spec
+ - Clarified use of 'file' for the 'provides' field in the Spec
+ - CPAN::Meta::Merge is a new class for merging two possibly overlapping
+ instances of metadata, which will accept both CPAN::Meta objects and
+ (possibly incomplete) hashrefs of metadata
+- Use %%license
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.140640-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index dc1b4bc..8d09749 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-905a9f19b459ed6b5a5339f35cdae209 CPAN-Meta-2.140640.tar.gz
+38eb74e2b598a6c2dba20c2f800095a2 CPAN-Meta-2.142060.tar.gz
More information about the scm-commits
mailing list