1 | Name: perl-prefork |
---|
2 | Version: 1.04 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Optimized module loading for forking or non-forking processes |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/prefork/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/prefork-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | |
---|
13 | BuildRequires: perl(Test::More) >= 0.47 |
---|
14 | BuildRequires: perl(File::Spec) >= 0.80 |
---|
15 | BuildRequires: perl(List::Util) >= 0.18 |
---|
16 | BuildRequires: perl(Scalar::Util) >= 1.18 |
---|
17 | |
---|
18 | # Required by tests |
---|
19 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
20 | BuildRequires: perl(Test::MinimumVersion) >= 0.007 |
---|
21 | BuildRequires: perl(Perl::MinimumVersion) >= 1.20 |
---|
22 | BuildRequires: perl(Test::CPAN::Meta) >= 0.12 |
---|
23 | |
---|
24 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | |
---|
29 | |
---|
30 | %description |
---|
31 | Optimized module loading for forking or non-forking processes |
---|
32 | |
---|
33 | prefork.pm is intended to serve as a central and optional marshalling |
---|
34 | point for state detection (are we running in compile-time or run-time |
---|
35 | mode) and to act as a relatively light-weight module loader. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n prefork-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf %{buildroot} |
---|
46 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
47 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
48 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
49 | chmod -R u+w %{buildroot}/* |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf %{buildroot} |
---|
53 | |
---|
54 | %check |
---|
55 | make test AUTOMATED_TESTING=1 |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc Changes README LICENSE |
---|
60 | %{perl_vendorlib}/prefork* |
---|
61 | %{_mandir}/man3/* |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-2 |
---|
65 | - rebuilt with perl 5.16.3 |
---|
66 | - added Vendor/Distribution tag |
---|
67 | |
---|
68 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1 |
---|
69 | - initial build for Vine Linux |
---|
70 | |
---|
71 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7 |
---|
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
73 | |
---|
74 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.04-6 |
---|
75 | - Perl mass rebuild |
---|
76 | |
---|
77 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
79 | |
---|
80 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-4 |
---|
81 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
82 | |
---|
83 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-3 |
---|
84 | - Mass rebuild with perl-5.12.0 |
---|
85 | |
---|
86 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.04-2 |
---|
87 | - rebuild against perl 5.10.1 |
---|
88 | |
---|
89 | * Wed Jul 29 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-1 |
---|
90 | - Upstream update. |
---|
91 | |
---|
92 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Jun 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.03-1 |
---|
96 | - Upstream update. |
---|
97 | |
---|
98 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-3 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
100 | |
---|
101 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2 |
---|
102 | - rebuild for new perl |
---|
103 | |
---|
104 | * Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 1.02-1 |
---|
105 | - Upstream update. |
---|
106 | - Add BR: perl(Test::MinimumVersion). |
---|
107 | |
---|
108 | * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.01-3 |
---|
109 | - Update license tag. |
---|
110 | |
---|
111 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.01-2 |
---|
112 | - Mass rebuild. |
---|
113 | |
---|
114 | * Mon Aug 07 2006 Ralf Corsépius <rc040203@freenet.de> - 1.01-1 |
---|
115 | - Upstream update. |
---|
116 | |
---|
117 | * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.00-3 |
---|
118 | - Rebuild for perl-5.8.8. |
---|
119 | |
---|
120 | * Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.00-2 |
---|
121 | - Spec file cleanup. |
---|
122 | |
---|
123 | * Sat Sep 10 2005 Ralf Corsepius <rc040203@freenet.de> - 1.00-1 |
---|
124 | - FE submission. |
---|