Blame SPECS/perl-Module-Metadata.spec

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