commit 4244b9a04fbb1d09c67c3ab07dbf45b90fd7c9ee Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jan 14 11:14:52 2015 +0000 Update to 0.16 - New upstream release 0.16 - Fixed license fields in META.json to be lists - Extended META test suite - Added '2.0' as an alias to '2' version spec. - License MUST be a list of strings - Classify buildreqs by usage - Update UTF8 patch - Use %license where possible ...f8.patch => Test-CPAN-Meta-JSON-0.16-utf8.patch | 4 +- perl-Test-CPAN-Meta-JSON.spec | 42 +++++++++++++++---- sources | 2 +- 3 files changed, 36 insertions(+), 12 deletions(-) --- diff --git a/Test-CPAN-Meta-JSON-0.15-utf8.patch b/Test-CPAN-Meta-JSON-0.16-utf8.patch similarity index 62% rename from Test-CPAN-Meta-JSON-0.15-utf8.patch rename to Test-CPAN-Meta-JSON-0.16-utf8.patch index acbc45a..89cfc7b 100644 --- a/Test-CPAN-Meta-JSON-0.15-utf8.patch +++ b/Test-CPAN-Meta-JSON-0.16-utf8.patch @@ -3,8 +3,8 @@ @@ -1,6 +1,6 @@ LICENSE FOR Test-CPAN-Meta-JSON --This software is copyright � 2009-2013 Barbie for Miss Barbell Productions. -+This software is copyright © 2009-2013 Barbie for Miss Barbell Productions. +-This software is copyright � 2009-2015 Barbie for Miss Barbell Productions. ++This software is copyright © 2009-2015 Barbie for Miss Barbell Productions. This distribution is free software; you can redistribute it and/or modify it under the Artistic Licence v2. diff --git a/perl-Test-CPAN-Meta-JSON.spec b/perl-Test-CPAN-Meta-JSON.spec index 2237065..2cc4ea8 100644 --- a/perl-Test-CPAN-Meta-JSON.spec +++ b/perl-Test-CPAN-Meta-JSON.spec @@ -1,23 +1,32 @@ Name: perl-Test-CPAN-Meta-JSON -Version: 0.15 -Release: 4%{?dist} +Version: 0.16 +Release: 1%{?dist} Summary: Validate a META.json file within a CPAN distribution Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/Test-CPAN-Meta-YAML/ Source0: http://search.cpan.org/CPAN/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-%{version}.tar.gz -Patch0: Test-CPAN-Meta-JSON-0.15-utf8.patch +Patch0: Test-CPAN-Meta-JSON-0.16-utf8.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +# Module Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime BuildRequires: perl(IO::File) BuildRequires: perl(JSON) >= 2.15 +BuildRequires: perl(strict) BuildRequires: perl(Test::Builder) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite BuildRequires: perl(Test::Builder::Tester) -BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) +# Optional Tests +BuildRequires: perl(Test::CPAN::Meta) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 0.08 +# Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -51,12 +60,27 @@ make test AUTOMATED_TESTING=1 rm -rf %{buildroot} %files -%doc Changes LICENSE README examples/ +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README examples/ %{perl_vendorlib}/Test/ -%{_mandir}/man3/Test::CPAN::Meta::JSON.3pm* -%{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3pm* +%{_mandir}/man3/Test::CPAN::Meta::JSON.3* +%{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3* %changelog +* Wed Jan 14 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.16-1 +- Update to 0.16 + - Fixed license fields in META.json to be lists + - Extended META test suite + - Added '2.0' as an alias to '2' version spec. + - License MUST be a list of strings +- Classify buildreqs by usage +- Update UTF8 patch +- Use %%license where possible + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.15-4 - Perl 5.20 rebuild diff --git a/sources b/sources index 0393155..d247351 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -284bb6e444d3771f59346edafc079055 Test-CPAN-Meta-JSON-0.15.tar.gz +1d6f3ff573e8b8b3daf89f677b7404bf Test-CPAN-Meta-JSON-0.16.tar.gz
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel