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
This commit is contained in:
parent
60b2c07318
commit
5d057f735a
@ -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@city-fan.org> - 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@city-fan.org> - 1.000007-2
|
||||
- Fedora 17 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user