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

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