0998cc
Name:		perl-Module-Metadata
0998cc
Version:	1.000018
0998cc
Release:	2%{?dist}
0998cc
Summary:	Gather package and POD information from perl module files
0998cc
License:	GPL+ or Artistic
0998cc
Group:		Development/Libraries
0998cc
URL:		http://search.cpan.org/dist/Module-Metadata/
0998cc
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-%{version}.tar.gz
0998cc
BuildArch:	noarch
0998cc
# Build
0998cc
BuildRequires:	perl(ExtUtils::MakeMaker)
0998cc
# Module
0998cc
BuildRequires:	perl(Carp)
0998cc
BuildRequires:	perl(File::Find)
0998cc
BuildRequires:	perl(File::Spec)
0998cc
BuildRequires:	perl(IO::File)
0998cc
BuildRequires:	perl(strict)
0998cc
BuildRequires:	perl(vars)
0998cc
BuildRequires:	perl(version) >= 0.87
0998cc
BuildRequires:	perl(warnings)
0998cc
# Regular test suite
0998cc
BuildRequires:	perl(Cwd)
0998cc
BuildRequires:	perl(Data::Dumper)
0998cc
BuildRequires:	perl(Exporter)
0998cc
BuildRequires:	perl(File::Temp)
0998cc
BuildRequires:	perl(File::Path)
0998cc
BuildRequires:	perl(lib)
0998cc
BuildRequires:	perl(Test::More)
0998cc
# Release tests
0998cc
%if !%{defined perl_bootstrap}
0998cc
BuildRequires:	perl(Test::Pod)
0998cc
BuildRequires:	perl(Test::Pod::Coverage)
0998cc
%endif
0998cc
# Runtime
0998cc
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0998cc
0998cc
%description
0998cc
This module provides a standard way to gather metadata about a .pm file
0998cc
through (mostly) static analysis and (some) code execution. When
0998cc
determining the version of a module, the $VERSION assignment is evaled, as
0998cc
is traditional in the CPAN toolchain.
0998cc
0998cc
%prep
0998cc
%setup -q -n Module-Metadata-%{version}
0998cc
0998cc
%build
0998cc
perl Makefile.PL INSTALLDIRS=vendor
0998cc
make %{?_smp_mflags}
0998cc
0998cc
%install
0998cc
make pure_install DESTDIR=%{buildroot}
0998cc
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
0998cc
%{_fixperms} %{buildroot}
0998cc
0998cc
%check
0998cc
make test
0998cc
%if !%{defined perl_bootstrap}
0998cc
make test TEST_FILES="xt/*.t"
0998cc
%endif
0998cc
0998cc
%files
0998cc
%doc Changes README
0998cc
%{perl_vendorlib}/Module/
0998cc
%{_mandir}/man3/Module::Metadata.3pm*
0998cc
0998cc
%changelog
0998cc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.000018-2
0998cc
- Mass rebuild 2013-12-27
0998cc
0998cc
* Wed Sep 11 2013 Paul Howarth <paul@city-fan.org> - 1.000018-1
0998cc
- Update to 1.000018
0998cc
  - Re-release of de-tainting fix without unstated non-core test dependencies
0998cc
- Drop BR: perl(Test::Fatal)
0998cc
0998cc
* Wed Sep 11 2013 Paul Howarth <paul@city-fan.org> - 1.000017-1
0998cc
- Update to 1.000017
0998cc
  - De-taint version, if needed (CPAN RT#88576)
0998cc
- BR: perl(Test::Fatal)
0998cc
0998cc
* Thu Aug 22 2013 Paul Howarth <paul@city-fan.org> - 1.000016-1
0998cc
- Update to 1.000016
0998cc
  - Re-release to fix prereqs and other metadata
0998cc
- This release by ETHER -> update source URL
0998cc
- Specify all dependencies
0998cc
0998cc
* Wed Aug 21 2013 Paul Howarth <paul@city-fan.org> - 1.000015-1
0998cc
- Update to 1.000015
0998cc
  - Change wording about safety/security to satisfy CVE-2013-1437
0998cc
0998cc
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.000014-4
0998cc
- Perl 5.18 re-rebuild of bootstrapped packages
0998cc
0998cc
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000014-3
0998cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0998cc
0998cc
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.000014-2
0998cc
- Perl 5.18 rebuild
0998cc
0998cc
* Thu May  9 2013 Paul Howarth <paul@city-fan.org> - 1.000014-1
0998cc
- Update to 1.000014
0998cc
  - Fix reliance on recent Test::Builder
0998cc
  - Make tests perl 5.6 compatible
0998cc
- This release by BOBTFISH -> update source URL
0998cc
0998cc
* Sun May  5 2013 Paul Howarth <paul@city-fan.org> - 1.000012-1
0998cc
- Update to 1.000012
0998cc
  - Improved package detection heuristics
0998cc
  - Fix ->contains_pod (CPAN RT#84932)
0998cc
  - Fix detection of pod after __END__ (CPAN RT#79656)
0998cc
- This release by ETHER -> update source URL
0998cc
- Package new upstream README file
0998cc
0998cc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000011-2
0998cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0998cc
0998cc
* Tue Aug 21 2012 Paul Howarth <paul@city-fan.org> - 1.000011-1
0998cc
- Update to 1.000011
0998cc
  - Fix various warning messages
0998cc
- This release by APEIRON -> update source URL
0998cc
0998cc
* Mon Jul 30 2012 Paul Howarth <paul@city-fan.org> - 1.000010-1
0998cc
- Update to 1.000010
0998cc
  - Performance improvement: the creation of a Module::Metadata object
0998cc
    for a typical module file has been sped up by about 40%%
0998cc
  - Fix t/metadata.t failure under Cygwin
0998cc
  - Portability fix-ups for new_from_module() and test failures on VMS
0998cc
- This release by VPIT -> update source URL
0998cc
- Drop buildreqs for Perl core modules that aren't dual-lived
0998cc
- Drop %%defattr, redundant since rpm 4.4
0998cc
- Don't need to remove empty directories from the buildroot
0998cc
0998cc
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000009-5
0998cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0998cc
0998cc
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-4
0998cc
- Perl 5.16 re-rebuild of bootstrapped packages
0998cc
0998cc
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-3
0998cc
- Perl 5.16 rebuild
0998cc
0998cc
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-2
0998cc
- Skip optional POD tests on bootstrap
0998cc
0998cc
* Thu Feb  9 2012 Paul Howarth <paul@city-fan.org> - 1.000009-1
0998cc
- Update to 1.000009
0998cc
  - Adds 'provides' method to generate a CPAN META provides data structure
0998cc
    correctly; use of package_versions_from_directory is discouraged
0998cc
  - Fatal errors now use 'croak' instead of 'die'; Carp added as
0998cc
    prerequisite
0998cc
- Improve %%description
0998cc
- Include all buildreqs explicitly required and classify them by Build,
0998cc
  Module, Regular test suite, and Release tests
0998cc
- Run main test suite and release tests separately
0998cc
- Drop explicit versioned runtime dependency on perl(version) as no supported
0998cc
  release now requires it
0998cc
0998cc
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 1.000007-2
0998cc
- Fedora 17 mass rebuild
0998cc
0998cc
* Wed Sep  7 2011 Paul Howarth <paul@city-fan.org> - 1.000007-1
0998cc
- Update to 1.000007
0998cc
  - Apply VMS fixes backported from blead
0998cc
0998cc
* Sun Sep  4 2011 Paul Howarth <paul@city-fan.org> - 1.000006-1
0998cc
- Update to 1.000006
0998cc
  - Support PACKAGE BLOCK syntax
0998cc
0998cc
* Wed Aug  3 2011 Paul Howarth <paul@city-fan.org> - 1.000005-1
0998cc
- Update to 1.000005
0998cc
  - Localize $package::VERSION during version discovery
0998cc
  - Fix references to Module::Build::ModuleInfo (CPAN RT#66133)
0998cc
  - Added 'new_from_handle()' method (CPAN RT#68875)
0998cc
  - Improved documentation (SYNOPSIS, broke out class/object method, and
0998cc
    other minor edits)
0998cc
- Install to vendor directories rather than perl directories
0998cc
0998cc
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 1.000004-5
0998cc
- Bump and rebuild
0998cc
0998cc
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.000004-4
0998cc
- Perl mass rebuild
0998cc
0998cc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000004-3
0998cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0998cc
0998cc
* Thu Feb  3 2011 Paul Howarth <paul@city-fan.org> - 1.000004-2
0998cc
- Tweaks from package review (#672779)
0998cc
  - Explicitly duplicate %%summary in %%description as upstream provides
0998cc
    nothing particularly useful
0998cc
  - Drop redundant BuildRoot tag
0998cc
  - Add BuildRequires for possibly dual-lived perl modules:
0998cc
    Cwd Data::Dumper Exporter File::Path File::Spec File::Temp IO::File
0998cc
- Explicitly require perl(version) >= 0.87 for builds on OS releases older
0998cc
  than Fedora 15 where the versioned dependency isn't picked up automatically
0998cc
0998cc
* Thu Feb  3 2011 Paul Howarth <paul@city-fan.org> - 1.000004-1
0998cc
- Update to 1.000004
0998cc
  - Fix broken metadata.t when @INC has relative paths
0998cc
0998cc
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 1.000003-2
0998cc
- Sanitize for Fedora submission
0998cc
- Drop support for releases prior to F-15 due to needing perl(version) >= 0.87
0998cc
0998cc
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 1.000003-1
0998cc
- Initial RPM version