Blame SPECS/perl-Module-Metadata.spec

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