[perl-CPAN-Meta] Update to 2.140640

Paul Howarth pghmcfc at fedoraproject.org
Wed Mar 26 14:20:23 UTC 2014


commit 1846129a9ccf1295b7964407edc1c25c85cae010
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Mar 26 14:03:05 2014 +0000

    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

 .gitignore          |   20 +-----------------
 perl-CPAN-Meta.spec |   55 ++++++++++++++++++++++++++++++++------------------
 sources             |    2 +-
 3 files changed, 37 insertions(+), 40 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a50bf1..9306e67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec
index be124d5..6826fca 100644
--- a/perl-CPAN-Meta.spec
+++ b/perl-CPAN-Meta.spec
@@ -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 at 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 at city-fan.org> - 2.132830-1
 - Update to 2.132830
   - Fixed incorrectly encoded META.yml
diff --git a/sources b/sources
index 1a9423d..dc1b4bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-93e8b95fea03835ff18d7b3b4c5267b5  CPAN-Meta-2.132830.tar.gz
+905a9f19b459ed6b5a5339f35cdae209  CPAN-Meta-2.140640.tar.gz



More information about the perl-devel mailing list