Blame SPECS/perl-Test-CPAN-Meta.spec

805ce1
Name:           perl-Test-CPAN-Meta
805ce1
Version:        0.25
805ce1
Release:        12%{?dist}
805ce1
Summary:        Validation of the META.yml file in a CPAN distribution
805ce1
License:        Artistic 2.0
805ce1
URL:            http://search.cpan.org/dist/Test-CPAN-Meta/
805ce1
Source0:        http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz
805ce1
Patch0:         Test-CPAN-Meta-0.25-utf8.patch
805ce1
BuildArch:      noarch
805ce1
# Module Build
805ce1
BuildRequires:  perl-interpreter
805ce1
BuildRequires:  perl-generators
805ce1
BuildRequires:  perl(ExtUtils::MakeMaker)
805ce1
# Module Runtime
805ce1
BuildRequires:  perl(Parse::CPAN::Meta) >= 0.02
805ce1
BuildRequires:  perl(strict)
805ce1
BuildRequires:  perl(Test::Builder)
805ce1
BuildRequires:  perl(vars)
805ce1
BuildRequires:  perl(warnings)
805ce1
# Test Suite
805ce1
BuildRequires:  perl(IO::File)
805ce1
BuildRequires:  perl(Test::Builder::Tester)
805ce1
BuildRequires:  perl(Test::More) >= 0.62
805ce1
# Optional Tests
805ce1
%if !%{defined perl_bootstrap}
805ce1
# Break build-cycle: perl-Test-CPAN-Meta → perl-Test-CPAN-Meta-JSON
805ce1
# → perl-Test-CPAN-Meta
805ce1
BuildRequires:  perl(Test::CPAN::Meta::JSON)
805ce1
%endif
805ce1
BuildRequires:  perl(Test::Pod) >= 1.00
805ce1
BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
805ce1
# Runtime
805ce1
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
805ce1
805ce1
%description
805ce1
This module was written to ensure that a META.yml file, provided with a
805ce1
standard distribution uploaded to CPAN, meets the specifications that are
805ce1
slowly being introduced to module uploads, via the use of package makers
805ce1
and installers such as ExtUtils::MakeMaker, Module::Build and
805ce1
Module::Install.
805ce1
805ce1
%prep
805ce1
%setup -q -n Test-CPAN-Meta-%{version}
805ce1
805ce1
# Re-code documentation as UTF-8
805ce1
%patch0
805ce1
805ce1
%build
805ce1
perl Makefile.PL INSTALLDIRS=vendor
805ce1
make %{?_smp_mflags}
805ce1
805ce1
%install
805ce1
make pure_install DESTDIR=%{buildroot}
805ce1
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
805ce1
%{_fixperms} %{buildroot}
805ce1
805ce1
%check
805ce1
make test AUTOMATED_TESTING=1
805ce1
805ce1
%files
805ce1
%license LICENSE
805ce1
%doc Changes README examples/
805ce1
%{perl_vendorlib}/Test/
805ce1
%{_mandir}/man3/Test::CPAN::Meta.3*
805ce1
%{_mandir}/man3/Test::CPAN::Meta::Version.3*
805ce1
805ce1
%changelog
805ce1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-12
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
805ce1
805ce1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-11
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
805ce1
805ce1
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-10
805ce1
- Perl 5.26 re-rebuild of bootstrapped packages
805ce1
805ce1
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-9
805ce1
- Perl 5.26 rebuild
805ce1
805ce1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-8
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
805ce1
805ce1
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-7
805ce1
- Perl 5.24 re-rebuild of bootstrapped packages
805ce1
805ce1
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-6
805ce1
- Perl 5.24 rebuild
805ce1
805ce1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-5
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
805ce1
805ce1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-4
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
805ce1
805ce1
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-3
805ce1
- Perl 5.22 re-rebuild of bootstrapped packages
805ce1
805ce1
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-2
805ce1
- Perl 5.22 rebuild
805ce1
805ce1
* Wed May  6 2015 Paul Howarth <paul@city-fan.org> - 0.25-1
805ce1
- Update to 0.25
805ce1
  - POD fix for usage example
805ce1
  - Removed Test::CPAN::Meta from the recommends list, as CPAN.pm tries to
805ce1
    install it first (CPAN RT#104023)
805ce1
- Update UTF8 patch
805ce1
805ce1
* Wed Feb 04 2015 Petr Pisar <ppisar@redhat.com> - 0.24-2
805ce1
- Break build-cycle: perl-Test-CPAN-Meta → perl-Test-CPAN-Meta-JSON →
805ce1
  perl-Test-CPAN-Meta
805ce1
805ce1
* Tue Jan 13 2015 Paul Howarth <paul@city-fan.org> - 0.24-1
805ce1
- Update to 0.24
805ce1
  - Extended META test suite
805ce1
  - Added META.json and tests
805ce1
  - Documentation updates
805ce1
- Classify buildreqs by usage
805ce1
- Use a patch rather than scripted iconv to fix character encoding
805ce1
- Modernize spec
805ce1
805ce1
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-5
805ce1
- Perl 5.20 rebuild
805ce1
805ce1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
805ce1
805ce1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
805ce1
805ce1
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.23-2
805ce1
- Perl 5.18 rebuild
805ce1
805ce1
* Mon Apr  8 2013 Paul Howarth <paul@city-fan.org> - 0.23-1
805ce1
- Update to 0.23
805ce1
  - Updated INSTALL instructions
805ce1
  - Added minimum perl version (5.006)
805ce1
  - Reworked Makefile.PL for clarity
805ce1
  - Implemented Perl::Critic suggestions
805ce1
  - Added meta_yaml_ok test and example
805ce1
  - Several Version.pm updates, including new() parameter name change:
805ce1
    'yaml' is now 'data'
805ce1
  - Changes file dates changed to meet W3CDTF standards
805ce1
- Don't use macros for commands
805ce1
- Don't need to remove empty directories from the buildroot
805ce1
- Make %%files list more explicit
805ce1
- Drop %%defattr, redundant since rpm 4.4
805ce1
805ce1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
805ce1
805ce1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
805ce1
805ce1
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.21-2
805ce1
- Perl 5.16 rebuild
805ce1
805ce1
* Fri Apr 27 2012 Petr Pisar <ppisar@redhat.com> - 0.21-1
805ce1
- 0.21 bump
805ce1
805ce1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-5
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
805ce1
805ce1
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4
805ce1
- Perl mass rebuild
805ce1
805ce1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
805ce1
805ce1
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2
805ce1
- Rebuild to fix problems with vendorarch/lib (#661697)
805ce1
805ce1
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 0.17-1
805ce1
- Update to 0.17
805ce1
  - Fix RT#46473: license url with fragment part
805ce1
  - Fix RT#47393: "optional_features" as map rather than list
805ce1
  - Renamed word() to keyword()
805ce1
  - Added identifier() validation
805ce1
  - Changed optional_features key from a keyword to an identifier type
805ce1
  - Clarified spec defined and user defined keys
805ce1
  - Fixed qr// delimiters due to issues with the NOT SIGN symbol
805ce1
805ce1
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
805ce1
- Mass rebuild with perl-5.12.0
805ce1
805ce1
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
805ce1
- rebuild against perl 5.10.1
805ce1
805ce1
* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
805ce1
- update to new upstream release
805ce1
805ce1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
805ce1
805ce1
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
805ce1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
805ce1
805ce1
* Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 0.12-1
805ce1
- Update to 0.12.
805ce1
- BR Test::Builder and Test::Builder::Tester.
805ce1
805ce1
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.11-1
805ce1
- Update to 0.11.
805ce1
805ce1
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.10-1
805ce1
- Specfile autogenerated by cpanspec 1.75.
805ce1
- Enable author tests.
805ce1
- Add examples to docs.
805ce1
- BR Test::More.
805ce1
- Convert LICENSE to UTF-8.
805ce1
- Drop bogus Requires.