3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 Summary: PadWalker - play with other peoples' lexical variables
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/J/JU/JUERD/%{pdir}-%{version}.tar.gz
16 # Source0-md5: e6f48685932c1a1896872daf1aff9e3d
17 BuildRequires: perl-devel >= 5.6
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 PadWalker is a module which allows you to inspect (and even change!)
23 lexical variables in any subroutine which called you. It will only show
24 those variables which are in scope at the point of the call.
30 %setup -q -n %{pdir}-%{version}
33 %{__perl} Makefile.PL \
35 %{__make} OPTIMIZE="%{rpmcflags}"
37 %{!?_without_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorarch}/*.pm
52 %dir %{perl_vendorarch}/auto/%{pdir}
53 %attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
54 %{perl_vendorarch}/auto/%{pdir}/*.bs