commit 5d057f735add9163b6d2f5f597b8748c908a0f90 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Feb 9 14:27:15 2012 +0000 Update to 1.000009 - New upstream release 1.000009 - Adds 'provides' method to generate a CPAN META provides data structure correctly; use of package_versions_from_directory is discouraged - Fatal errors now use 'croak' instead of 'die'; Carp added as prerequisite - Improve %description - Include all buildreqs explicitly required and classify them by Build, Module, Regular test suite, and Release tests - Run main test suite and release tests separately - Drop explicit versioned runtime dependency on perl(version) as no supported release now requires it perl-Module-Metadata.spec | 50 +++++++++++++++++++++++++++++++++----------- sources | 2 +- 2 files changed, 38 insertions(+), 14 deletions(-) --- diff --git a/perl-Module-Metadata.spec b/perl-Module-Metadata.spec index 1cfdc15..459b4c5 100644 --- a/perl-Module-Metadata.spec +++ b/perl-Module-Metadata.spec @@ -1,32 +1,42 @@ Name: perl-Module-Metadata -Version: 1.000007 -Release: 2%{?dist} +Version: 1.000009 +Release: 1%{?dist} Summary: Gather package and POD information from perl module files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Module-Metadata/ Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Metadata-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(warnings) +# Module +BuildRequires: perl(Carp) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::File) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(version) >= 0.87 +# Regular test suite +BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Basename) BuildRequires: perl(File::Temp) -BuildRequires: perl(IO::File) +BuildRequires: perl(File::Path) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) +# Release tests BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(version) >= 0.87 +# Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -# Versioned requirement not picked up prior to rpm 4.9.x in F-15 -%if 0%{?fedora} < 15 && 0%{?rhel} < 7 -Requires: perl(version) >= 0.87 -%endif %description -%{summary}. +This module provides a standard way to gather metadata about a .pm file +without executing unsafe code. %prep %setup -q -n Module-Metadata-%{version} @@ -42,7 +52,8 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot} %check -make test TEST_FILES="t/*.t xt/*.t" +make test +make test TEST_FILES="xt/*.t" %files %defattr(-,root,root,-) @@ -51,6 +62,19 @@ make test TEST_FILES="t/*.t xt/*.t" %{_mandir}/man3/Module::Metadata.3pm* %changelog +* Thu Feb 9 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000009-1 +- Update to 1.000009 + - Adds 'provides' method to generate a CPAN META provides data structure + correctly; use of package_versions_from_directory is discouraged + - Fatal errors now use 'croak' instead of 'die'; Carp added as + prerequisite +- Improve %%description +- Include all buildreqs explicitly required and classify them by Build, + Module, Regular test suite, and Release tests +- Run main test suite and release tests separately +- Drop explicit versioned runtime dependency on perl(version) as no supported + release now requires it + * Thu Jan 12 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000007-2 - Fedora 17 mass rebuild diff --git a/sources b/sources index 75501db..b34a72a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -411d62f242c09ecee6ccaf558f516cc8 Module-Metadata-1.000007.tar.gz +9669dd618585de6832368043bc8c59b5 Module-Metadata-1.000009.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