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