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
This commit is contained in:
parent
b7c0ac9607
commit
20d0dd6064
@ -1,7 +1,7 @@
|
|||||||
Name: perl-CPAN-Meta
|
Name: perl-CPAN-Meta
|
||||||
Summary: Distribution metadata for a CPAN dist
|
Summary: Distribution metadata for a CPAN dist
|
||||||
Version: 2.140640
|
Version: 2.142060
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
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
|
||||||
@ -15,7 +15,6 @@ BuildRequires: perl(Carp)
|
|||||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
||||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008
|
||||||
BuildRequires: perl(JSON::PP) >= 2.27200
|
BuildRequires: perl(JSON::PP) >= 2.27200
|
||||||
BuildRequires: perl(List::Util) >= 1.33
|
|
||||||
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(version) >= 0.88
|
BuildRequires: perl(version) >= 0.88
|
||||||
@ -26,10 +25,11 @@ BuildRequires: perl(File::Spec)
|
|||||||
BuildRequires: perl(File::Spec::Functions)
|
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(List::Util)
|
||||||
BuildRequires: perl(overload)
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
# Runtime
|
# 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}
|
||||||
|
|
||||||
@ -47,31 +47,44 @@ in CPAN::Meta::Spec.
|
|||||||
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes CONTRIBUTING history LICENSE README Todo t/
|
%license LICENSE
|
||||||
|
%doc Changes CONTRIBUTING history README Todo t/
|
||||||
%{perl_vendorlib}/CPAN/
|
%{perl_vendorlib}/CPAN/
|
||||||
%{_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*
|
||||||
%{_mandir}/man3/CPAN::Meta::History.3*
|
%{_mandir}/man3/CPAN::Meta::History.3*
|
||||||
|
%{_mandir}/man3/CPAN::Meta::Merge.3*
|
||||||
%{_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*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 28 2014 Paul Howarth <paul@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@lists.fedoraproject.org> - 2.140640-2
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.140640-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user