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