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