Blame SPECS/perl-Module-Metadata.spec

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