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
This commit is contained in:
Paul Howarth 2015-01-14 11:14:52 +00:00
parent c769d4190c
commit 4244b9a04f
3 changed files with 36 additions and 12 deletions

View File

@ -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.

View File

@ -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@city-fan.org> - 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@redhat.com> - 0.15-4
- Perl 5.20 rebuild

View File

@ -1 +1 @@
284bb6e444d3771f59346edafc079055 Test-CPAN-Meta-JSON-0.15.tar.gz
1d6f3ff573e8b8b3daf89f677b7404bf Test-CPAN-Meta-JSON-0.16.tar.gz