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