1 | Name: perl-PadWalker |
---|
2 | Version: 1.7 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Play with other peoples' lexical variables |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/PadWalker/ |
---|
8 | Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | %description |
---|
17 | PadWalker is a module which allows you to inspect (and even change!) |
---|
18 | lexical variables in any subroutine which called you. It will only show |
---|
19 | those variables which are in scope at the point of the call. |
---|
20 | |
---|
21 | %prep |
---|
22 | %setup -q -n PadWalker-%{version} |
---|
23 | |
---|
24 | %build |
---|
25 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
26 | %{__make} %{?_smp_mflags} |
---|
27 | |
---|
28 | %install |
---|
29 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
30 | |
---|
31 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
32 | |
---|
33 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
34 | find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
35 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
36 | |
---|
37 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
38 | |
---|
39 | %check |
---|
40 | %{__make} test |
---|
41 | |
---|
42 | %clean |
---|
43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc Changes README |
---|
48 | %{perl_vendorarch}/auto/* |
---|
49 | %{perl_vendorarch}/PadWalker* |
---|
50 | %{_mandir}/man3/* |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.7-2 |
---|
54 | - build with perl 5.12.3 |
---|
55 | - add Vendor and Distribution tags |
---|
56 | |
---|
57 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7-1 |
---|
58 | - initial build for Vine Linux based on fedora development |
---|
59 | |
---|
60 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4 |
---|
61 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
62 | |
---|
63 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3 |
---|
64 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
65 | |
---|
66 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-2 |
---|
67 | - Rebuild for perl 5.10 (again) |
---|
68 | |
---|
69 | * Thu Feb 21 2008 Steven Pritchard <steve@kspei.com> 1.7-1 |
---|
70 | - Update to 1.7. |
---|
71 | |
---|
72 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2 |
---|
73 | - Autorebuild for GCC 4.3 |
---|
74 | |
---|
75 | * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.6-1 |
---|
76 | - Update to 1.6. |
---|
77 | - Use fixperms macro instead of our own chmod incantation. |
---|
78 | - Reformat to match cpanspec output. |
---|
79 | |
---|
80 | * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-2 |
---|
81 | - rebuild for new perl |
---|
82 | |
---|
83 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-1.1 |
---|
84 | - correct license tag |
---|
85 | - add BR: perl(ExtUtils::MakeMaker) |
---|
86 | |
---|
87 | * Fri Jan 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1 |
---|
88 | - Update to 1.5. |
---|
89 | |
---|
90 | * Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-1 |
---|
91 | - Update to 1.3. |
---|
92 | |
---|
93 | * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1 |
---|
94 | - Update to 1.2. |
---|
95 | |
---|
96 | * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1-1 |
---|
97 | - Update to 1.1. |
---|
98 | |
---|
99 | * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2 |
---|
100 | - Rebuild for FC6. |
---|
101 | |
---|
102 | * Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1 |
---|
103 | - First build. |
---|