[5740] | 1 | Name: perl-Test-CPAN-Meta |
---|
[12120] | 2 | Version: 0.25 |
---|
[9063] | 3 | Release: 1%{?_dist_release} |
---|
[5740] | 4 | Summary: Validation of the META.yml file in a CPAN distribution |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Test-CPAN-Meta/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz |
---|
[9063] | 9 | |
---|
[5740] | 10 | BuildArch: noarch |
---|
[9063] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[5740] | 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
[12120] | 13 | BuildRequires: perl(Parse::CPAN::Meta) |
---|
[5740] | 14 | BuildRequires: perl(Test::Builder) |
---|
| 15 | BuildRequires: perl(Test::Builder::Tester) |
---|
[12120] | 16 | BuildRequires: perl(Test::More) |
---|
| 17 | BuildRequires: perl(Test::Pod) |
---|
| 18 | BuildRequires: perl(Test::Pod::Coverage) |
---|
[5740] | 19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: shaolin |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This module was written to ensure that a META.yml file, provided with a |
---|
| 27 | standard distribution uploaded to CPAN, meets the specifications that are |
---|
| 28 | slowly being introduced to module uploads, via the use of package makers |
---|
| 29 | and installers such as ExtUtils::MakeMaker, Module::Build and |
---|
| 30 | Module::Install. |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n Test-CPAN-Meta-%{version} |
---|
| 34 | |
---|
| 35 | iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp |
---|
| 36 | mv -f LICENSE.tmp LICENSE |
---|
| 37 | |
---|
| 38 | %build |
---|
[5794] | 39 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
[5740] | 40 | make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 44 | |
---|
| 45 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
| 46 | |
---|
| 47 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
---|
| 48 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 49 | |
---|
| 50 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
| 51 | |
---|
| 52 | %check |
---|
| 53 | make test AUTOMATED_TESTING=1 |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root,-) |
---|
[12120] | 60 | %license LICENSE |
---|
| 61 | %doc Changes README examples/ |
---|
[5794] | 62 | %{perl_vendorlib}/* |
---|
[5740] | 63 | %{_mandir}/man3/* |
---|
| 64 | |
---|
| 65 | %changelog |
---|
[12120] | 66 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.25-1 |
---|
| 67 | - new upstream release. |
---|
| 68 | - rebuilt with perl-5.26. |
---|
| 69 | |
---|
[9063] | 70 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.23-1 |
---|
| 71 | - updated to 0.23 |
---|
| 72 | - built with perl 5.16.3 |
---|
| 73 | |
---|
[5794] | 74 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-2 |
---|
| 75 | - rebuild |
---|
| 76 | |
---|
[5740] | 77 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1 |
---|
| 78 | - initial package for Vine Linux |
---|
| 79 | |
---|
| 80 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-5 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4 |
---|
| 84 | - Perl mass rebuild |
---|
| 85 | |
---|
| 86 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3 |
---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 88 | |
---|
| 89 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2 |
---|
| 90 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 91 | |
---|
| 92 | * Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 0.17-1 |
---|
| 93 | - Update to 0.17 |
---|
| 94 | - Fix RT#46473: license url with fragment part |
---|
| 95 | - Fix RT#47393: "optional_features" as map rather than list |
---|
| 96 | - Renamed word() to keyword() |
---|
| 97 | - Added identifier() validation |
---|
| 98 | - Changed optional_features key from a keyword to an identifier type |
---|
| 99 | - Clarified spec defined and user defined keys |
---|
| 100 | - Fixed qr// delimiters due to issues with the NOT SIGN symbol |
---|
| 101 | |
---|
| 102 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3 |
---|
| 103 | - Mass rebuild with perl-5.12.0 |
---|
| 104 | |
---|
| 105 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2 |
---|
| 106 | - rebuild against perl 5.10.1 |
---|
| 107 | |
---|
| 108 | * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1 |
---|
| 109 | - update to new upstream release |
---|
| 110 | |
---|
| 111 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3 |
---|
| 112 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 113 | |
---|
| 114 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2 |
---|
| 115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 116 | |
---|
| 117 | * Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 0.12-1 |
---|
| 118 | - Update to 0.12. |
---|
| 119 | - BR Test::Builder and Test::Builder::Tester. |
---|
| 120 | |
---|
| 121 | * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.11-1 |
---|
| 122 | - Update to 0.11. |
---|
| 123 | |
---|
| 124 | * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.10-1 |
---|
| 125 | - Specfile autogenerated by cpanspec 1.75. |
---|
| 126 | - Enable author tests. |
---|
| 127 | - Add examples to docs. |
---|
| 128 | - BR Test::More. |
---|
| 129 | - Convert LICENSE to UTF-8. |
---|
| 130 | - Drop bogus Requires. |
---|