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