|
|
fe92a8 |
Name: perl-Test-CPAN-Meta
|
|
|
fe92a8 |
Version: 0.23
|
|
|
fe92a8 |
Release: 2%{?dist}
|
|
|
fe92a8 |
Summary: Validation of the META.yml file in a CPAN distribution
|
|
|
fe92a8 |
License: Artistic 2.0
|
|
|
fe92a8 |
Group: Development/Libraries
|
|
|
fe92a8 |
URL: http://search.cpan.org/dist/Test-CPAN-Meta/
|
|
|
fe92a8 |
Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz
|
|
|
fe92a8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
fe92a8 |
BuildArch: noarch
|
|
|
fe92a8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
fe92a8 |
BuildRequires: perl(IO::File)
|
|
|
fe92a8 |
BuildRequires: perl(Parse::CPAN::Meta) >= 0.02
|
|
|
fe92a8 |
BuildRequires: perl(Test::Builder)
|
|
|
fe92a8 |
BuildRequires: perl(Test::Builder::Tester)
|
|
|
fe92a8 |
BuildRequires: perl(Test::More) >= 0.70
|
|
|
fe92a8 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
fe92a8 |
BuildRequires: perl(Test::Pod::Coverage) >= 0.08
|
|
|
fe92a8 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%description
|
|
|
fe92a8 |
This module was written to ensure that a META.yml file, provided with a
|
|
|
fe92a8 |
standard distribution uploaded to CPAN, meets the specifications that are
|
|
|
fe92a8 |
slowly being introduced to module uploads, via the use of package makers
|
|
|
fe92a8 |
and installers such as ExtUtils::MakeMaker, Module::Build and
|
|
|
fe92a8 |
Module::Install.
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%prep
|
|
|
fe92a8 |
%setup -q -n Test-CPAN-Meta-%{version}
|
|
|
fe92a8 |
|
|
|
fe92a8 |
iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp
|
|
|
fe92a8 |
mv -f LICENSE.tmp LICENSE
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%build
|
|
|
fe92a8 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
fe92a8 |
make %{?_smp_mflags}
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%install
|
|
|
fe92a8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fe92a8 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
fe92a8 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
fe92a8 |
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%check
|
|
|
fe92a8 |
make test AUTOMATED_TESTING=1
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%clean
|
|
|
fe92a8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%files
|
|
|
fe92a8 |
%doc Changes LICENSE README examples/
|
|
|
fe92a8 |
%{perl_vendorlib}/Test/
|
|
|
fe92a8 |
%{_mandir}/man3/Test::CPAN::Meta.3pm*
|
|
|
fe92a8 |
%{_mandir}/man3/Test::CPAN::Meta::Version.3pm*
|
|
|
fe92a8 |
|
|
|
fe92a8 |
%changelog
|
|
|
fe92a8 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.23-2
|
|
|
fe92a8 |
- Mass rebuild 2013-12-27
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Mon Apr 8 2013 Paul Howarth <paul@city-fan.org> - 0.23-1
|
|
|
fe92a8 |
- Update to 0.23
|
|
|
fe92a8 |
- Updated INSTALL instructions
|
|
|
fe92a8 |
- Added minimum perl version (5.006)
|
|
|
fe92a8 |
- Reworked Makefile.PL for clarity
|
|
|
fe92a8 |
- Implemented Perl::Critic suggestions
|
|
|
fe92a8 |
- Added meta_yaml_ok test and example
|
|
|
fe92a8 |
- Several Version.pm updates, including new() parameter name change:
|
|
|
fe92a8 |
'yaml' is now 'data'
|
|
|
fe92a8 |
- Changes file dates changed to meet W3CDTF standards
|
|
|
fe92a8 |
- Don't use macros for commands
|
|
|
fe92a8 |
- Don't need to remove empty directories from the buildroot
|
|
|
fe92a8 |
- Make %%files list more explicit
|
|
|
fe92a8 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.21-2
|
|
|
fe92a8 |
- Perl 5.16 rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Fri Apr 27 2012 Petr Pisar <ppisar@redhat.com> - 0.21-1
|
|
|
fe92a8 |
- 0.21 bump
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-5
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4
|
|
|
fe92a8 |
- Perl mass rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2
|
|
|
fe92a8 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 0.17-1
|
|
|
fe92a8 |
- Update to 0.17
|
|
|
fe92a8 |
- Fix RT#46473: license url with fragment part
|
|
|
fe92a8 |
- Fix RT#47393: "optional_features" as map rather than list
|
|
|
fe92a8 |
- Renamed word() to keyword()
|
|
|
fe92a8 |
- Added identifier() validation
|
|
|
fe92a8 |
- Changed optional_features key from a keyword to an identifier type
|
|
|
fe92a8 |
- Clarified spec defined and user defined keys
|
|
|
fe92a8 |
- Fixed qr// delimiters due to issues with the NOT SIGN symbol
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
|
|
|
fe92a8 |
- Mass rebuild with perl-5.12.0
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
|
|
|
fe92a8 |
- rebuild against perl 5.10.1
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
|
|
|
fe92a8 |
- update to new upstream release
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
fe92a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 0.12-1
|
|
|
fe92a8 |
- Update to 0.12.
|
|
|
fe92a8 |
- BR Test::Builder and Test::Builder::Tester.
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.11-1
|
|
|
fe92a8 |
- Update to 0.11.
|
|
|
fe92a8 |
|
|
|
fe92a8 |
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.10-1
|
|
|
fe92a8 |
- Specfile autogenerated by cpanspec 1.75.
|
|
|
fe92a8 |
- Enable author tests.
|
|
|
fe92a8 |
- Add examples to docs.
|
|
|
fe92a8 |
- BR Test::More.
|
|
|
fe92a8 |
- Convert LICENSE to UTF-8.
|
|
|
fe92a8 |
- Drop bogus Requires.
|