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