| 1 | Name: perl-Perl-MinimumVersion |
|---|
| 2 | Version: 1.28 |
|---|
| 3 | Release: 4%{?_dist_release} |
|---|
| 4 | Summary: Find a minimum required version of perl for Perl code |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/Perl-MinimumVersion/ |
|---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Perl-MinimumVersion-%{version}.tar.gz |
|---|
| 9 | |
|---|
| 10 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 11 | BuildArch: noarch |
|---|
| 12 | |
|---|
| 13 | BuildRequires: perl(List::Util) >= 1.20 |
|---|
| 14 | BuildRequires: perl(PPI) >= 1.215 |
|---|
| 15 | BuildRequires: perl(version) >= 0.76 |
|---|
| 16 | BuildRequires: perl(Perl::Critic::Utils) >= 1.104 |
|---|
| 17 | BuildRequires: perl(Params::Util) >= 0.25 |
|---|
| 18 | %if !%{defined perl_bootstrap} |
|---|
| 19 | BuildRequires: perl(Test::Script) >= 1.03 |
|---|
| 20 | BuildRequires: perl(File::Find::Rule) >= 0.32 |
|---|
| 21 | BuildRequires: perl(File::Find::Rule::Perl) >= 1.04 |
|---|
| 22 | BuildRequires: perl(File::Spec) >= 0.80 |
|---|
| 23 | BuildRequires: perl(Test::More) >= 0.47 |
|---|
| 24 | %endif |
|---|
| 25 | |
|---|
| 26 | Vendor: Project Vine |
|---|
| 27 | Distribution: Vine Linux |
|---|
| 28 | Packager: shaolin |
|---|
| 29 | |
|---|
| 30 | %description |
|---|
| 31 | Find a minimum required version of perl for Perl code |
|---|
| 32 | |
|---|
| 33 | %prep |
|---|
| 34 | %setup -q -n Perl-MinimumVersion-%{version} |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 38 | make %{?_smp_mflags} |
|---|
| 39 | |
|---|
| 40 | %install |
|---|
| 41 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 42 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
|---|
| 43 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';' |
|---|
| 44 | find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 45 | chmod -R u+w ${RPM_BUILD_ROOT}/* |
|---|
| 46 | |
|---|
| 47 | %check |
|---|
| 48 | %if !%{defined perl_bootstrap} |
|---|
| 49 | make test |
|---|
| 50 | %endif |
|---|
| 51 | |
|---|
| 52 | %clean |
|---|
| 53 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 54 | |
|---|
| 55 | %files |
|---|
| 56 | %defattr(-,root,root,-) |
|---|
| 57 | %doc Changes LICENSE |
|---|
| 58 | %{_bindir}/* |
|---|
| 59 | %{perl_vendorlib}/Perl |
|---|
| 60 | %{_mandir}/man1/* |
|---|
| 61 | %{_mandir}/man3/* |
|---|
| 62 | |
|---|
| 63 | %changelog |
|---|
| 64 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-4 |
|---|
| 65 | - rebuild |
|---|
| 66 | |
|---|
| 67 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-2 |
|---|
| 68 | - undefine perl_bootstrap this time |
|---|
| 69 | |
|---|
| 70 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-1 |
|---|
| 71 | - initial build for Vine Linux |
|---|
| 72 | |
|---|
| 73 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-4 |
|---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 75 | |
|---|
| 76 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.28-3 |
|---|
| 77 | - Perl mass rebuild |
|---|
| 78 | |
|---|
| 79 | * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-2 |
|---|
| 80 | - use perl_bootstrap macro |
|---|
| 81 | |
|---|
| 82 | * Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.28-1 |
|---|
| 83 | - Upstream update. |
|---|
| 84 | - Remove maintainer test (Upstream doesn't want us to find his bugs). |
|---|
| 85 | - Update BR's. |
|---|
| 86 | |
|---|
| 87 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3 |
|---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 89 | |
|---|
| 90 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.26-2 |
|---|
| 91 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 92 | |
|---|
| 93 | * Thu Aug 05 2010 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.26-1 |
|---|
| 94 | - Upstream update. |
|---|
| 95 | |
|---|
| 96 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.24-3 |
|---|
| 97 | - Mass rebuild with perl-5.12.0 |
|---|
| 98 | |
|---|
| 99 | * Mon May 3 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.24-2 |
|---|
| 100 | - for the meantime apply changes from trunk. Other builds using |
|---|
| 101 | this package should succed with perl-5.12. |
|---|
| 102 | |
|---|
| 103 | * Mon Mar 01 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.24-1 |
|---|
| 104 | - Upstream update. |
|---|
| 105 | - Adjust BR's. |
|---|
| 106 | |
|---|
| 107 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.20-3 |
|---|
| 108 | - rebuild against perl 5.10.1 |
|---|
| 109 | |
|---|
| 110 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2 |
|---|
| 111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 112 | |
|---|
| 113 | * Sun Apr 26 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.20-1 |
|---|
| 114 | - Upstream update. |
|---|
| 115 | |
|---|
| 116 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2 |
|---|
| 117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 118 | |
|---|
| 119 | * Tue Sep 16 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1 |
|---|
| 120 | - Upstream update. |
|---|
| 121 | |
|---|
| 122 | * Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.18-1 |
|---|
| 123 | - Upstream update. |
|---|
| 124 | |
|---|
| 125 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.15-5 |
|---|
| 126 | - Rebuild for perl 5.10 (again) |
|---|
| 127 | |
|---|
| 128 | * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-4 |
|---|
| 129 | - correct List::Util version, perl 5.10.0 has 1.19 |
|---|
| 130 | |
|---|
| 131 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.15-3 |
|---|
| 132 | - rebuild for new perl |
|---|
| 133 | |
|---|
| 134 | * Thu Jan 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.15.2 |
|---|
| 135 | - Use unversioned BR: perl(version) to circumvent perl vs. rpm versioning |
|---|
| 136 | conflicts |
|---|
| 137 | |
|---|
| 138 | * Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 0.15-1 |
|---|
| 139 | - Initial version. |
|---|