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