3 %bcond_without tests # do not perform "make test"
7 Summary: B::Debug - Walk Perl syntax tree, printing debug info about ops
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 260ec0e2c2b18af1d42911bfaf6b7477
16 URL: https://metacpan.org/release/B-Debug/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Walk Perl syntax tree, printing debug info about ops.
26 %setup -q -n %{pdir}-%{pnam}-%{version}
29 %{__perl} Makefile.PL \
33 %{?with_tests:%{__make} test}
36 rm -rf $RPM_BUILD_ROOT
38 %{__make} pure_install \
39 DESTDIR=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{perl_vendorlib}/B/Debug.pm