| 1 | Name: perl-Test-MinimumVersion |
|---|
| 2 | Version: 0.101081 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: Check whether your code requires a newer perl |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/Test-MinimumVersion/ |
|---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-MinimumVersion-%{version}.tar.gz |
|---|
| 9 | |
|---|
| 10 | BuildArch: noarch |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 12 | BuildRequires: perl(Test::Tester) |
|---|
| 13 | BuildRequires: perl(Test::Builder) |
|---|
| 14 | BuildRequires: perl(YAML::Tiny) >= 1.40 |
|---|
| 15 | BuildRequires: perl(File::Find::Rule) |
|---|
| 16 | BuildRequires: perl(File::Find::Rule::Perl) |
|---|
| 17 | BuildRequires: perl(Perl::MinimumVersion) >= 1.32 |
|---|
| 18 | # For improved tests |
|---|
| 19 | BuildRequires: perl(Test::Pod) >= 1.00 |
|---|
| 20 | BuildRequires: perl(Test::Pod::Coverage) >= 1.08 |
|---|
| 21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 22 | |
|---|
| 23 | Vendor: Project Vine |
|---|
| 24 | Distribution: Vine Linux |
|---|
| 25 | Packager: shaolin |
|---|
| 26 | |
|---|
| 27 | %description |
|---|
| 28 | Check whether your code requires a newer perl than you think. |
|---|
| 29 | |
|---|
| 30 | %prep |
|---|
| 31 | %setup -q -n Test-MinimumVersion-%{version} |
|---|
| 32 | find -type f -exec chmod -x {} \; |
|---|
| 33 | |
|---|
| 34 | %build |
|---|
| 35 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 36 | make %{?_smp_mflags} |
|---|
| 37 | |
|---|
| 38 | %install |
|---|
| 39 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 40 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
|---|
| 41 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';' |
|---|
| 42 | find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 43 | chmod -R u+w ${RPM_BUILD_ROOT}/* |
|---|
| 44 | |
|---|
| 45 | %clean |
|---|
| 46 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 47 | |
|---|
| 48 | %check |
|---|
| 49 | make test RELEASE_TESTING=1 |
|---|
| 50 | |
|---|
| 51 | %files |
|---|
| 52 | %defattr(-,root,root,-) |
|---|
| 53 | %doc Changes LICENSE |
|---|
| 54 | %{perl_vendorlib}/Test |
|---|
| 55 | %{_mandir}/man3/* |
|---|
| 56 | |
|---|
| 57 | %changelog |
|---|
| 58 | * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.101081-1 |
|---|
| 59 | - updated to 0.101081 |
|---|
| 60 | - built with perl 5.16.3 |
|---|
| 61 | |
|---|
| 62 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.101080-2 |
|---|
| 63 | - rebuild |
|---|
| 64 | |
|---|
| 65 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.101080-1 |
|---|
| 66 | - initial build for Vine Linux |
|---|
| 67 | |
|---|
| 68 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101080-6 |
|---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 70 | |
|---|
| 71 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.101080-5 |
|---|
| 72 | - Perl mass rebuild |
|---|
| 73 | |
|---|
| 74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101080-4 |
|---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 76 | |
|---|
| 77 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.101080-3 |
|---|
| 78 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 79 | |
|---|
| 80 | * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101080-2 |
|---|
| 81 | - Rebuild with perl-5.12.0. |
|---|
| 82 | |
|---|
| 83 | * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101080-1 |
|---|
| 84 | - Upstream update. |
|---|
| 85 | |
|---|
| 86 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.013-2 |
|---|
| 87 | - Mass rebuild with perl-5.12.0 |
|---|
| 88 | |
|---|
| 89 | * Tue Mar 02 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.013-1 |
|---|
| 90 | - Upstream update. |
|---|
| 91 | |
|---|
| 92 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.011-3 |
|---|
| 93 | - rebuild against perl 5.10.1 |
|---|
| 94 | |
|---|
| 95 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2 |
|---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 97 | |
|---|
| 98 | * Wed Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.011-1 |
|---|
| 99 | - Upstream update. |
|---|
| 100 | |
|---|
| 101 | * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.010-1 |
|---|
| 102 | - Upstream update. |
|---|
| 103 | |
|---|
| 104 | * Tue May 05 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.009-1 |
|---|
| 105 | - Upstream update. |
|---|
| 106 | |
|---|
| 107 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-2 |
|---|
| 108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 109 | |
|---|
| 110 | * Mon May 26 2008 Ralf Corsépius <rc040203@freenet.de> - 0.008-1 |
|---|
| 111 | - Upstream update. |
|---|
| 112 | |
|---|
| 113 | * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-4 |
|---|
| 114 | - Rebuild normally, second pass |
|---|
| 115 | |
|---|
| 116 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-3 |
|---|
| 117 | - Rebuild for perl 5.10 (again), first pass |
|---|
| 118 | |
|---|
| 119 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-2 |
|---|
| 120 | - rebuild normally, second pass |
|---|
| 121 | |
|---|
| 122 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-1.1 |
|---|
| 123 | - rebuild for new perl, first pass, tests and TPC disabled |
|---|
| 124 | |
|---|
| 125 | * Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.007-1 |
|---|
| 126 | - Initial version. |
|---|