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