3bbe16
Name:		perl-Module-Metadata
3bbe16
Version:	1.000033
3bbe16
Release:	395%{?dist}
3bbe16
Summary:	Gather package and POD information from perl module files
3bbe16
License:	GPL+ or Artistic
3bbe16
URL:		http://search.cpan.org/dist/Module-Metadata/
3bbe16
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-%{version}.tar.gz
3bbe16
BuildArch:	noarch
3bbe16
# Build
3bbe16
BuildRequires:	coreutils
3bbe16
BuildRequires:	findutils
3bbe16
BuildRequires:	make
3bbe16
BuildRequires:	perl-interpreter
3bbe16
BuildRequires:	perl-generators
3bbe16
BuildRequires:	perl(ExtUtils::MakeMaker)
3bbe16
# Module
3bbe16
BuildRequires:	perl(Carp)
3bbe16
BuildRequires:	perl(Fcntl)
3bbe16
BuildRequires:	perl(File::Find)
3bbe16
BuildRequires:	perl(File::Spec)
3bbe16
BuildRequires:	perl(strict)
3bbe16
BuildRequires:	perl(version) >= 0.87
3bbe16
BuildRequires:	perl(warnings)
3bbe16
# Regular test suite
3bbe16
BuildRequires:	perl(base)
3bbe16
BuildRequires:	perl(Config)
3bbe16
BuildRequires:	perl(Cwd)
3bbe16
BuildRequires:	perl(Data::Dumper)
3bbe16
BuildRequires:	perl(Exporter)
3bbe16
BuildRequires:	perl(File::Basename)
3bbe16
BuildRequires:	perl(File::Path)
3bbe16
BuildRequires:	perl(File::Spec)
3bbe16
BuildRequires:	perl(File::Temp)
3bbe16
BuildRequires:	perl(IO::File)
3bbe16
BuildRequires:	perl(lib)
3bbe16
BuildRequires:	perl(Test::More) >= 0.88
3bbe16
BuildRequires:	perl(vars)
3bbe16
# Optional test requirements
3bbe16
BuildRequires:	perl(CPAN::Meta) >= 2.120900
3bbe16
# Runtime
3bbe16
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
3bbe16
Requires:	perl(Fcntl)
3bbe16
3bbe16
%description
3bbe16
This module provides a standard way to gather metadata about a .pm file
3bbe16
without executing unsafe code.
3bbe16
3bbe16
%prep
3bbe16
%setup -q -n Module-Metadata-%{version}
3bbe16
3bbe16
%build
3bbe16
perl Makefile.PL INSTALLDIRS=vendor
3bbe16
make %{?_smp_mflags}
3bbe16
3bbe16
%install
3bbe16
make pure_install DESTDIR=%{buildroot}
3bbe16
find %{buildroot} -type f -name .packlist -delete
3bbe16
%{_fixperms} %{buildroot}
3bbe16
3bbe16
%check
3bbe16
make test
3bbe16
3bbe16
%files
3bbe16
%license LICENCE
3bbe16
%doc Changes CONTRIBUTING README
3bbe16
%{perl_vendorlib}/Module/
3bbe16
%{_mandir}/man3/Module::Metadata.3*
3bbe16
3bbe16
%changelog
3bbe16
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.000033-395
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3bbe16
3bbe16
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.000033-394
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3bbe16
3bbe16
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.000033-393
3bbe16
- Perl 5.26 rebuild
3bbe16
3bbe16
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.000033-2
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3bbe16
3bbe16
* Mon Jul 25 2016 Paul Howarth <paul@city-fan.org> - 1.000033-1
3bbe16
- Update to 1.000033
3bbe16
  - Use a more strict matching heuristic when attempting to infer the "primary"
3bbe16
    module name in a parsed .pm file
3bbe16
  - Only report "main" as the module name if code was seen outside another
3bbe16
    namespace, fixing bad results for pod files (CPAN RT#107525)
3bbe16
  - Fix file operation in tests for VMS
3bbe16
- BR: perl-generators
3bbe16
- Simplify find command using -delete
3bbe16
3bbe16
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.000031-365
3bbe16
- Increase release to favour standalone package
3bbe16
3bbe16
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.000031-1
3bbe16
- 1.000031 bump; Used trial version to compete with Perl 5.24
3bbe16
  - Refactor and expand test cases
3bbe16
  - Fix a $VERSION extraction issue on perl 5.6.2 (CPAN RT#105978, PR#17)
3bbe16
  - Fix the detection of package Foo when $Foo::VERSION is set (CPAN RT#85961)
3bbe16
  - Fix missing "use" statement in refactored test helper (only affected older
3bbe16
    perls, due to other module interactions)
3bbe16
  - Temporary directories cleaned up during tests
3bbe16
  - More accurately mark tests as TODO, so as to have a quieter and less
3bbe16
    confusing test run without passing TODO tests
3bbe16
  - Be less noisy on failure when building as part of perl core (see
3bbe16
    Perl RT#126685)
3bbe16
3bbe16
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.000027-4
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3bbe16
3bbe16
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000027-3
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3bbe16
3bbe16
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.000027-2
3bbe16
- Perl 5.22 rebuild
3bbe16
3bbe16
* Sat Apr 11 2015 Paul Howarth <paul@city-fan.org> - 1.000027-1
3bbe16
- Update to 1.000027
3bbe16
  - Work around issues with an unconfigured Log::Contextual
3bbe16
  - Allow tests to pass in a perl with no taint support
3bbe16
3bbe16
* Fri Jan 30 2015 Paul Howarth <paul@city-fan.org> - 1.000026-1
3bbe16
- Update to 1.000026
3bbe16
  - Patched tests to be less noisy in blead builds (CPAN RT#101491)
3bbe16
3bbe16
* Tue Jan  6 2015 Paul Howarth <paul@city-fan.org> - 1.000025-1
3bbe16
- Update to 1.000025
3bbe16
  - Evaluate version assignment in a clean environment, to fix assignment in a
3bbe16
    block (CPAN RT#101095)
3bbe16
- Use %%license
3bbe16
3bbe16
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.000024-2
3bbe16
- Perl 5.20 rebuild
3bbe16
3bbe16
* Tue Jun 10 2014 Paul Howarth <paul@city-fan.org> - 1.000024-1
3bbe16
- Update to 1.000024
3bbe16
  - Support installations on older perls with an ExtUtils::MakeMaker earlier
3bbe16
    than 6.63_03
3bbe16
- Don't bother trying to run the release tests
3bbe16
- Package new documentation files from upstream: CONTRIBUTING LICENSE README.md
3bbe16
3bbe16
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000022-2
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3bbe16
3bbe16
* Wed Apr 30 2014 Paul Howarth <paul@city-fan.org> - 1.000022-1
3bbe16
- Update to 1.000022
3bbe16
  - New is_indexable() object method (CPAN RT#84357)
3bbe16
  - Eliminated dependency on IO::File (and by virtue, XS)
3bbe16
  - Removed cruft in test infrastructure left behind from separation from
3bbe16
    Module::Build
3bbe16
  - Repository moved to https://github.com/Perl-Toolchain-Gang/Module-Metadata
3bbe16
  - .pm file is now wholly ascii, for nicer fatpacking (CPAN RT#95086)
3bbe16
  - Some code micro-optimizations
3bbe16
    (https://github.com/Perl-Toolchain-Gang/Module-Metadata/pull/4)
3bbe16
  - Fixed all out of date prereq declarations
3bbe16
  - Work around change in comparison behaviour in Test::More 0.95_01 by being
3bbe16
    more explicit with our tests - now explicitly checking the string form of
3bbe16
    the extracted version, rather than the entire version object
3bbe16
  - Ensure the extracted version is returned as a version object in all cases
3bbe16
    (CPAN RT#87782)
3bbe16
- Drop redundant Group: tag
3bbe16
3bbe16
* Sun Oct  6 2013 Paul Howarth <paul@city-fan.org> - 1.000019-1
3bbe16
- Update to 1.000019
3bbe16
  - Warnings now disabled inside during the evaluation of generated version sub
3bbe16
    (CPAN RT#89282)
3bbe16
- BR: perl(Config), perl(File::Basename) and perl(IO::File) for the test suite
3bbe16
3bbe16
* Wed Sep 11 2013 Paul Howarth <paul@city-fan.org> - 1.000018-1
3bbe16
- Update to 1.000018
3bbe16
  - Re-release of de-tainting fix without unstated non-core test dependencies
3bbe16
- Drop BR: perl(Test::Fatal)
3bbe16
3bbe16
* Wed Sep 11 2013 Paul Howarth <paul@city-fan.org> - 1.000017-1
3bbe16
- Update to 1.000017
3bbe16
  - De-taint version, if needed (CPAN RT#88576)
3bbe16
- BR: perl(Test::Fatal)
3bbe16
3bbe16
* Thu Aug 22 2013 Paul Howarth <paul@city-fan.org> - 1.000016-1
3bbe16
- Update to 1.000016
3bbe16
  - Re-release to fix prereqs and other metadata
3bbe16
- This release by ETHER -> update source URL
3bbe16
- Specify all dependencies
3bbe16
3bbe16
* Wed Aug 21 2013 Paul Howarth <paul@city-fan.org> - 1.000015-1
3bbe16
- Update to 1.000015
3bbe16
  - Change wording about safety/security to satisfy CVE-2013-1437
3bbe16
3bbe16
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.000014-4
3bbe16
- Perl 5.18 re-rebuild of bootstrapped packages
3bbe16
3bbe16
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000014-3
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3bbe16
3bbe16
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.000014-2
3bbe16
- Perl 5.18 rebuild
3bbe16
3bbe16
* Thu May  9 2013 Paul Howarth <paul@city-fan.org> - 1.000014-1
3bbe16
- Update to 1.000014
3bbe16
  - Fix reliance on recent Test::Builder
3bbe16
  - Make tests perl 5.6 compatible
3bbe16
- This release by BOBTFISH -> update source URL
3bbe16
3bbe16
* Sun May  5 2013 Paul Howarth <paul@city-fan.org> - 1.000012-1
3bbe16
- Update to 1.000012
3bbe16
  - Improved package detection heuristics
3bbe16
  - Fix ->contains_pod (CPAN RT#84932)
3bbe16
  - Fix detection of pod after __END__ (CPAN RT#79656)
3bbe16
- This release by ETHER -> update source URL
3bbe16
- Package new upstream README file
3bbe16
3bbe16
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000011-2
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3bbe16
3bbe16
* Tue Aug 21 2012 Paul Howarth <paul@city-fan.org> - 1.000011-1
3bbe16
- Update to 1.000011
3bbe16
  - Fix various warning messages
3bbe16
- This release by APEIRON -> update source URL
3bbe16
3bbe16
* Mon Jul 30 2012 Paul Howarth <paul@city-fan.org> - 1.000010-1
3bbe16
- Update to 1.000010
3bbe16
  - Performance improvement: the creation of a Module::Metadata object
3bbe16
    for a typical module file has been sped up by about 40%%
3bbe16
  - Fix t/metadata.t failure under Cygwin
3bbe16
  - Portability fix-ups for new_from_module() and test failures on VMS
3bbe16
- This release by VPIT -> update source URL
3bbe16
- Drop buildreqs for Perl core modules that aren't dual-lived
3bbe16
- Drop %%defattr, redundant since rpm 4.4
3bbe16
- Don't need to remove empty directories from the buildroot
3bbe16
3bbe16
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000009-5
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3bbe16
3bbe16
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-4
3bbe16
- Perl 5.16 re-rebuild of bootstrapped packages
3bbe16
3bbe16
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-3
3bbe16
- Perl 5.16 rebuild
3bbe16
3bbe16
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.000009-2
3bbe16
- Skip optional POD tests on bootstrap
3bbe16
3bbe16
* Thu Feb  9 2012 Paul Howarth <paul@city-fan.org> - 1.000009-1
3bbe16
- Update to 1.000009
3bbe16
  - Adds 'provides' method to generate a CPAN META provides data structure
3bbe16
    correctly; use of package_versions_from_directory is discouraged
3bbe16
  - Fatal errors now use 'croak' instead of 'die'; Carp added as
3bbe16
    prerequisite
3bbe16
- Improve %%description
3bbe16
- Include all buildreqs explicitly required and classify them by Build,
3bbe16
  Module, Regular test suite, and Release tests
3bbe16
- Run main test suite and release tests separately
3bbe16
- Drop explicit versioned runtime dependency on perl(version) as no supported
3bbe16
  release now requires it
3bbe16
3bbe16
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 1.000007-2
3bbe16
- Fedora 17 mass rebuild
3bbe16
3bbe16
* Wed Sep  7 2011 Paul Howarth <paul@city-fan.org> - 1.000007-1
3bbe16
- Update to 1.000007
3bbe16
  - Apply VMS fixes backported from blead
3bbe16
3bbe16
* Sun Sep  4 2011 Paul Howarth <paul@city-fan.org> - 1.000006-1
3bbe16
- Update to 1.000006
3bbe16
  - Support PACKAGE BLOCK syntax
3bbe16
3bbe16
* Wed Aug  3 2011 Paul Howarth <paul@city-fan.org> - 1.000005-1
3bbe16
- Update to 1.000005
3bbe16
  - Localize $package::VERSION during version discovery
3bbe16
  - Fix references to Module::Build::ModuleInfo (CPAN RT#66133)
3bbe16
  - Added 'new_from_handle()' method (CPAN RT#68875)
3bbe16
  - Improved documentation (SYNOPSIS, broke out class/object method, and
3bbe16
    other minor edits)
3bbe16
- Install to vendor directories rather than perl directories
3bbe16
3bbe16
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 1.000004-5
3bbe16
- Bump and rebuild
3bbe16
3bbe16
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.000004-4
3bbe16
- Perl mass rebuild
3bbe16
3bbe16
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000004-3
3bbe16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3bbe16
3bbe16
* Thu Feb  3 2011 Paul Howarth <paul@city-fan.org> - 1.000004-2
3bbe16
- Tweaks from package review (#672779)
3bbe16
  - Explicitly duplicate %%summary in %%description as upstream provides
3bbe16
    nothing particularly useful
3bbe16
  - Drop redundant BuildRoot tag
3bbe16
  - Add BuildRequires for possibly dual-lived perl modules:
3bbe16
    Cwd Data::Dumper Exporter File::Path File::Spec File::Temp IO::File
3bbe16
- Explicitly require perl(version) >= 0.87 for builds on OS releases older
3bbe16
  than Fedora 15 where the versioned dependency isn't picked up automatically
3bbe16
3bbe16
* Thu Feb  3 2011 Paul Howarth <paul@city-fan.org> - 1.000004-1
3bbe16
- Update to 1.000004
3bbe16
  - Fix broken metadata.t when @INC has relative paths
3bbe16
3bbe16
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 1.000003-2
3bbe16
- Sanitize for Fedora submission
3bbe16
- Drop support for releases prior to F-15 due to needing perl(version) >= 0.87
3bbe16
3bbe16
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 1.000003-1
3bbe16
- Initial RPM version