[perl-Test-CPAN-Meta-YAML] Update to 0.23
Paul Howarth
pghmcfc at fedoraproject.org
Thu Jan 15 12:28:46 UTC 2015
commit 5e10196a531a1148efccca5aba66e607008f9ad0
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Jan 15 12:28:33 2015 +0000
Update to 0.23
- New upstream release 0.23
- Extended META test suite
- Added META.json and tests
- Update UTF8 patch
- Use %license where possible
- Classify buildreqs by usage
...f8.patch => Test-CPAN-Meta-YAML-0.23-utf8.patch | 4 +-
perl-Test-CPAN-Meta-YAML.spec | 44 +++++++++++++++----
sources | 2 +-
3 files changed, 37 insertions(+), 13 deletions(-)
---
diff --git a/Test-CPAN-Meta-YAML-0.22-utf8.patch b/Test-CPAN-Meta-YAML-0.23-utf8.patch
similarity index 62%
rename from Test-CPAN-Meta-YAML-0.22-utf8.patch
rename to Test-CPAN-Meta-YAML-0.23-utf8.patch
index b3b148a..bebb1a0 100644
--- a/Test-CPAN-Meta-YAML-0.22-utf8.patch
+++ b/Test-CPAN-Meta-YAML-0.23-utf8.patch
@@ -3,8 +3,8 @@
@@ -1,6 +1,6 @@
LICENSE FOR Test-CPAN-Meta-YAML
--This software is copyright © 2007-2013 Barbie for Miss Barbell Productions.
-+This software is copyright © 2007-2013 Barbie for Miss Barbell Productions.
+-This software is copyright © 2007-2015 Barbie for Miss Barbell Productions.
++This software is copyright © 2007-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-YAML.spec b/perl-Test-CPAN-Meta-YAML.spec
index f57ce6c..bb762ef 100644
--- a/perl-Test-CPAN-Meta-YAML.spec
+++ b/perl-Test-CPAN-Meta-YAML.spec
@@ -1,22 +1,33 @@
Name: perl-Test-CPAN-Meta-YAML
-Version: 0.22
-Release: 4%{?dist}
+Version: 0.23
+Release: 1%{?dist}
Summary: Validate a META.yml 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-YAML-%{version}.tar.gz
-Patch0: Test-CPAN-Meta-YAML-0.22-utf8.patch
+Patch0: Test-CPAN-Meta-YAML-0.23-utf8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
-BuildRequires: perl(Test::Builder::Tester)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::YAML::Valid) >= 0.03
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
BuildRequires: perl(YAML::Syck)
+# Test Suite
+BuildRequires: perl(IO::File)
+BuildRequires: perl(Test::Builder::Tester)
+BuildRequires: perl(Test::More)
+# Optional Tests
+BuildRequires: perl(Test::CPAN::Meta::JSON)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 0.08
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Explicitly requests the YAML::Syck backend for Test::YAML::Valid
Requires: perl(YAML::Syck)
@@ -52,12 +63,25 @@ make test AUTOMATED_TESTING=1
rm -rf %{buildroot}
%files
-%doc Changes LICENSE README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README
%{perl_vendorlib}/Test/
-%{_mandir}/man3/Test::CPAN::Meta::YAML.3pm*
-%{_mandir}/man3/Test::CPAN::Meta::YAML::Version.3pm*
+%{_mandir}/man3/Test::CPAN::Meta::YAML.3*
+%{_mandir}/man3/Test::CPAN::Meta::YAML::Version.3*
%changelog
+* Thu Jan 15 2015 Paul Howarth <paul at city-fan.org> - 0.23-1
+- Update to 0.23
+ - Extended META test suite
+ - Added META.json and tests
+- Update UTF8 patch
+- Use %%license where possible
+- Classify buildreqs by usage
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.22-4
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 944632b..a74ae5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c5acd14f7ecbe1dbf21cc3548ee3dfef Test-CPAN-Meta-YAML-0.22.tar.gz
+640650deb0a2f2bae12861c5e8ebb453 Test-CPAN-Meta-YAML-0.23.tar.gz
More information about the scm-commits
mailing list