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