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