1 | Summary: Apparently run a function in a higher stack frame |
---|
2 | Name: perl-Sub-Uplevel |
---|
3 | Version: 0.2002 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Sub-Uplevel/ |
---|
8 | Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(Module::Build) |
---|
13 | BuildRequires: perl(Test::Pod) |
---|
14 | BuildRequires: perl(Test::Pod::Coverage) |
---|
15 | Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
17 | %description |
---|
18 | Like Tcl's uplevel() function, but not quite so dangerous. The idea is |
---|
19 | just to fool caller(). All the really naughty bits of Tcl's uplevel() |
---|
20 | are avoided. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n Sub-Uplevel-%{version} |
---|
24 | |
---|
25 | %build |
---|
26 | %{__perl} Build.PL installdirs=vendor |
---|
27 | ./Build |
---|
28 | |
---|
29 | %install |
---|
30 | rm -rf $RPM_BUILD_ROOT |
---|
31 | |
---|
32 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
---|
33 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
34 | |
---|
35 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
36 | |
---|
37 | %check |
---|
38 | AUTHOR_TESTING=1 ./Build test |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | |
---|
43 | %files |
---|
44 | %defattr(-,root,root,-) |
---|
45 | %doc Changes LICENSE README Todo examples/ |
---|
46 | %{perl_vendorlib}/* |
---|
47 | %{_mandir}/man3/* |
---|
48 | |
---|
49 | %changelog |
---|
50 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2002-1 |
---|
51 | - Initial build for Vine Linux |
---|
52 | |
---|
53 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1901-2 |
---|
54 | - Rebuild for perl 5.10 (again) |
---|
55 | |
---|
56 | * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.1901-1 |
---|
57 | - Update to 0.1901. |
---|
58 | - Use fixperms macro instead of our own chmod incantation. |
---|
59 | - Reformat to match cpanspec output. |
---|
60 | |
---|
61 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2 |
---|
62 | - rebuild for new perl |
---|
63 | |
---|
64 | * Mon Dec 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-1 |
---|
65 | - Update to 0.18. |
---|
66 | |
---|
67 | * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.14-1 |
---|
68 | - Update to 0.14. |
---|
69 | |
---|
70 | * Fri Jun 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1 |
---|
71 | - Update to 0.13. |
---|
72 | |
---|
73 | * Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.12-1 |
---|
74 | - Update to 0.12. |
---|
75 | - Makefile.PL -> Build.PL. |
---|
76 | |
---|
77 | * Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1 |
---|
78 | - Update to 0.10. |
---|
79 | - New upstream maintainer. |
---|
80 | - Patch dropped. |
---|
81 | |
---|
82 | * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-4 |
---|
83 | - Uplevel.pm patch (perl 5.8.8). See bugzilla entry #182488. |
---|
84 | |
---|
85 | * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-3 |
---|
86 | - Dist tag. |
---|
87 | |
---|
88 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.09-2 |
---|
89 | - rebuilt |
---|
90 | |
---|
91 | * Thu Jul 8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1 |
---|
92 | - Update to 0.09 (with license info). |
---|
93 | |
---|
94 | * Sun Jul 4 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1 |
---|
95 | - First build. |
---|