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