Update to 2.140640

- New upstream release 2.140640
  - Improved bad version handling during META conversion
  - When downgrading multiple licenses to version 1.x META formats, if all the
    licenses are open source, the downgraded license will be "open_source", not
    "unknown"
  - Added a 'load_string' method that guesses whether the string is YAML or
    JSON
- Drop obsoletes/provides for old tests sub-package
- Classify buildreqs by usage
- Package upstream's CONTRIBUTING file
- Make %files list more explicit
This commit is contained in:
Paul Howarth 2014-03-26 14:03:05 +00:00
parent ac9bc54e87
commit 1846129a9c
3 changed files with 37 additions and 40 deletions

20
.gitignore vendored
View File

@ -1,19 +1 @@
CPAN-Meta-2.101670.tar.gz
CPAN-Meta-2.102160.tar.gz
/CPAN-Meta-2.102400.tar.gz
/CPAN-Meta-2.110350.tar.gz
/CPAN-Meta-2.110440.tar.gz
/CPAN-Meta-2.110550.tar.gz
/CPAN-Meta-2.110580.tar.gz
/CPAN-Meta-2.110910.tar.gz
/CPAN-Meta-2.110930.tar.gz
/CPAN-Meta-2.112150.tar.gz
/CPAN-Meta-2.112621.tar.gz
/CPAN-Meta-2.113640.tar.gz
/CPAN-Meta-2.120351.tar.gz
/CPAN-Meta-2.120530.tar.gz
/CPAN-Meta-2.120630.tar.gz
/CPAN-Meta-2.120900.tar.gz
/CPAN-Meta-2.120921.tar.gz
/CPAN-Meta-2.132140.tar.gz
/CPAN-Meta-2.132830.tar.gz
/CPAN-Meta-[0-9.]*.tar.gz

View File

@ -1,39 +1,35 @@
Name: perl-CPAN-Meta
Summary: Distribution metadata for a CPAN dist
Version: 2.132830
Version: 2.140640
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
URL: http://search.cpan.org/dist/CPAN-Meta/
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
# Module
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
# Main test suite
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp) >= 0.20
BuildRequires: perl(IO::Dir)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(JSON::PP) >= 2.27200
BuildRequires: perl(List::Util)
BuildRequires: perl(overload)
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4403
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(version) >= 0.88
# obsolete/provide old tests subpackage
# can be removed during F19 development cycle
Obsoletes: %{name}-tests < 2.113640-3
Provides: %{name}-tests = %{version}-%{release}
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@ -65,11 +61,30 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
make test
%files
%doc Changes history LICENSE README Todo t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%doc Changes CONTRIBUTING history LICENSE 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::Prereqs.3*
%{_mandir}/man3/CPAN::Meta::Spec.3*
%{_mandir}/man3/CPAN::Meta::Validator.3*
%changelog
* Wed Mar 26 2014 Paul Howarth <paul@city-fan.org> - 2.140640-1
- Update to 2.140640
- Improved bad version handling during META conversion
- When downgrading multiple licenses to version 1.x META formats, if all the
licenses are open source, the downgraded license will be "open_source", not
"unknown"
- Added a 'load_string' method that guesses whether the string is YAML or
JSON
- Drop obsoletes/provides for old tests sub-package
- Classify buildreqs by usage
- Package upstream's CONTRIBUTING file
- Make %%files list more explicit
* Fri Oct 11 2013 Paul Howarth <paul@city-fan.org> - 2.132830-1
- Update to 2.132830
- Fixed incorrectly encoded META.yml

View File

@ -1 +1 @@
93e8b95fea03835ff18d7b3b4c5267b5 CPAN-Meta-2.132830.tar.gz
905a9f19b459ed6b5a5339f35cdae209 CPAN-Meta-2.140640.tar.gz