commit 9f716597692831d7db368e367e0ca71fe3fe4842 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Jan 26 11:28:44 2015 +0000 Update to 0.21 - New upstream release 0.21 - Changes file dates changed to meet W3CDTF standards - Reworked Makefile.PL for clarity - Upgraded to Test::CPAN::Meta::JSON for tests - Added META.json - Updated test suite - Added repositories to Meta files - Consistent abstract - INSTALL documentation update - Extended META test suite - Fixed license fields in META.json to be lists - Added WARNING notice - Classify buildreqs by usage - Use a patch rather than scripted iconv to fix character encoding Test-YAML-Meta-0.21-utf8.patch | 10 +++++ perl-Test-YAML-Meta.spec | 84 +++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 65 insertions(+), 31 deletions(-) --- diff --git a/Test-YAML-Meta-0.21-utf8.patch b/Test-YAML-Meta-0.21-utf8.patch new file mode 100644 index 0000000..f529671 --- /dev/null +++ b/Test-YAML-Meta-0.21-utf8.patch @@ -0,0 +1,10 @@ +--- LICENSE ++++ LICENSE +@@ -1,6 +1,6 @@ + LICENSE FOR Test-YAML-Meta + +-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-YAML-Meta.spec b/perl-Test-YAML-Meta.spec index 38d94cb..9a2a72c 100644 --- a/perl-Test-YAML-Meta.spec +++ b/perl-Test-YAML-Meta.spec @@ -1,63 +1,87 @@ Name: perl-Test-YAML-Meta -Version: 0.19 -Release: 9%{?dist} +Version: 0.21 +Release: 1%{?dist} Summary: Validation of the META.yml file in a distribution -License: GPL+ or Artistic +License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Test-YAML-Meta/ Source0: http://www.cpan.org/modules/by-module/Test/Test-YAML-Meta-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: Test-YAML-Meta-0.21-utf8.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +# Module Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(base) +BuildRequires: perl(strict) +BuildRequires: perl(Test::CPAN::Meta::YAML) >= 0.17 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(IO::File) +BuildRequires: perl(Test::CPAN::Meta::JSON) +BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 0.08 -BuildRequires: perl(Test::YAML::Valid) >= 0.03 -BuildRequires: perl(Test::CPAN::Meta::YAML) -BuildRequires: perl(YAML) -BuildRequires: perl(YAML::Syck) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module was written to ensure that a META.yml file, provided with a -standard distribution uploaded to CPAN, meets the specifications that +standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of ExtUtils::MakeMaker, Module::Build and Module::Install. %prep %setup -q -n Test-YAML-Meta-%{version} +# Re-code LICENSE as UTF-8 +%patch0 + %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} -mv LICENSE LICENSE.in -iconv -fiso88591 -tutf8 -oLICENSE LICENSE.in -rm LICENSE.in %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} %check -make test +make test AUTOMATED_TESTING=1 %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files -%defattr(-,root,root,-) -%doc Changes LICENSE README examples -%dir %{perl_vendorlib}/Test/ -%dir %{perl_vendorlib}/Test/YAML/ -%{perl_vendorlib}/Test/YAML/Meta.pm -%{_mandir}/man3/*.3pm* +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README examples/ +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::YAML::Meta.3* %changelog +* Mon Jan 26 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.21-1 +- Update to 0.21 + - Changes file dates changed to meet W3CDTF standards + - Reworked Makefile.PL for clarity + - Upgraded to Test::CPAN::Meta::JSON for tests + - Added META.json + - Updated test suite + - Added repositories to Meta files + - Consistent abstract + - INSTALL documentation update + - Extended META test suite + - Fixed license fields in META.json to be lists + - Added WARNING notice +- Classify buildreqs by usage +- Use a patch rather than scripted iconv to fix character encoding + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.19-9 - Perl 5.20 rebuild diff --git a/sources b/sources index 88da521..d0bb7c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d63f50028c468e8f8f7daabc1f869e33 Test-YAML-Meta-0.19.tar.gz +e1a1af2122673dd827dd0e7bca12283d Test-YAML-Meta-0.21.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