1 | Name: perl-Devel-StackTrace |
---|
2 | Summary: Perl module implementing stack trace and stack trace frame objects |
---|
3 | Version: 1.27 |
---|
4 | Epoch: 1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: Artistic 2.0 |
---|
7 | Group: Development/Libraries |
---|
8 | URL: http://search.cpan.org/dist/Devel-StackTrace/ |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | BuildArch: noarch |
---|
12 | |
---|
13 | # --with release_tests ... also check "RELEASE_TESTS". |
---|
14 | # Disabled by default |
---|
15 | %bcond_with release_tests |
---|
16 | |
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
18 | BuildRequires: perl(Test::More) >= 0.88 |
---|
19 | BuildRequires: perl(Scalar::Util) |
---|
20 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
21 | |
---|
22 | %if %{with release_tests} |
---|
23 | # for improved tests |
---|
24 | BuildRequires: perl(Test::Pod) |
---|
25 | BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
---|
26 | BuildRequires: perl(Test::Kwalitee) |
---|
27 | BuildRequires: perl(Test::EOL) |
---|
28 | BuildRequires: perl(Test::NoTabs) |
---|
29 | BuildRequires: perl(Test::Spelling) |
---|
30 | BuildRequires: aspell-en |
---|
31 | %endif |
---|
32 | |
---|
33 | %description |
---|
34 | The Devel::StackTrace module contains two classes, Devel::StackTrace |
---|
35 | and Devel::StackTraceFrame. The goal of this object is to encapsulate |
---|
36 | the information that can found through using the caller() function, as |
---|
37 | well as providing a simple interface to this data. |
---|
38 | |
---|
39 | The Devel::StackTrace object contains a set of Devel::StackTraceFrame |
---|
40 | objects, one for each level of the stack. The frames contain all the |
---|
41 | data available from caller() as of Perl 5.6.0. |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q -n Devel-StackTrace-%{version} |
---|
45 | |
---|
46 | %build |
---|
47 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
48 | make %{?_smp_mflags} |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf ${RPM_BUILD_ROOT} |
---|
52 | |
---|
53 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
54 | |
---|
55 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
---|
56 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
57 | |
---|
58 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
59 | |
---|
60 | %check |
---|
61 | make test %{?with_release_tests:RELEASE_TESTING=1} |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf ${RPM_BUILD_ROOT} |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %doc README LICENSE Changes |
---|
69 | %dir %{perl_vendorlib}/Devel/StackTrace |
---|
70 | %{perl_vendorlib}/Devel/StackTrace/* |
---|
71 | %{perl_vendorlib}/Devel/StackTrace.pm |
---|
72 | %{_mandir}/man3/* |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.27-2 |
---|
76 | - rebuild |
---|
77 | |
---|
78 | * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:1.27-1 |
---|
79 | - initial package for Vine Linux |
---|
80 | |
---|
81 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-4 |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
83 | |
---|
84 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.27-3 |
---|
85 | - Perl mass rebuild |
---|
86 | |
---|
87 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-2 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
89 | |
---|
90 | * Mon Jan 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.27-1 |
---|
91 | - Upstream update. |
---|
92 | |
---|
93 | * Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.26-1 |
---|
94 | - Upstream update. |
---|
95 | |
---|
96 | * Sun Sep 12 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.25-1 |
---|
97 | - Upstream update. |
---|
98 | - Spec overhaul. |
---|
99 | - Add %%bcond_with release_tests |
---|
100 | |
---|
101 | * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-5 |
---|
102 | - Mass rebuild with perl-5.12.0 |
---|
103 | |
---|
104 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-4 |
---|
105 | - Mass rebuild with perl-5.12.0 |
---|
106 | |
---|
107 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:1.22-3 |
---|
108 | - rebuild against perl 5.10.1 |
---|
109 | |
---|
110 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.22-2 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
112 | |
---|
113 | * Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.22-1 |
---|
114 | - Upstream update. |
---|
115 | |
---|
116 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-3 |
---|
117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
118 | |
---|
119 | * Wed Feb 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-2 |
---|
120 | - BR: perl(Test::Kwalitee). |
---|
121 | |
---|
122 | * Sat Dec 13 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-1 |
---|
123 | - Upstream update. |
---|
124 | - Bump epoch. |
---|
125 | |
---|
126 | * Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1902-1 |
---|
127 | - Upstream update. |
---|
128 | |
---|
129 | * Wed Jun 25 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1901-1 |
---|
130 | - Upstream update. |
---|
131 | |
---|
132 | * Fri May 16 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-2 |
---|
133 | - Bump release. |
---|
134 | |
---|
135 | * Mon Apr 07 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-1 |
---|
136 | - Upstream update. |
---|
137 | |
---|
138 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-2 |
---|
139 | - Rebuild for perl 5.10 (again) |
---|
140 | |
---|
141 | * Sun Feb 03 2008 Ralf Corsépius <rc040203@freenet.de> - 1.16-1 |
---|
142 | - Upstream update. |
---|
143 | - Activate IS_MAINTAINER-tests. |
---|
144 | - BR: perl(Test::Pod::Coverage). |
---|
145 | |
---|
146 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.15-3 |
---|
147 | - rebuild for new perl |
---|
148 | |
---|
149 | * Wed Aug 29 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-2 |
---|
150 | - Update License. |
---|
151 | |
---|
152 | * Mon Apr 30 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-1 |
---|
153 | - Upstream update. |
---|
154 | |
---|
155 | * Sat Mar 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.14-1 |
---|
156 | - Upstream update. |
---|
157 | |
---|
158 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-2 |
---|
159 | - Mass rebuild. |
---|
160 | |
---|
161 | * Wed Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-1 |
---|
162 | - Upstream update. |
---|
163 | |
---|
164 | * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.12-2 |
---|
165 | - Rebuild for perl-5.8.8. |
---|
166 | |
---|
167 | * Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1 |
---|
168 | - Upstream update. |
---|