forked from pool/perl-Debug-Trace
39 lines
911 B
RPMSpec
39 lines
911 B
RPMSpec
|
|
Name: perl-Debug-Trace
|
||
|
|
Version: 0.04
|
||
|
|
Release: 1
|
||
|
|
Summary: Perl extension to trace subroutine calls
|
||
|
|
License: CHECK(GPL+ or Artistic)
|
||
|
|
Url: http://search.cpan.org/dist/Debug-Trace/
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
Source: http://www.cpan.org/authors/id/J/JV/JV/Debug-Trace-%{version}.tar.gz
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
BuildRequires: perl(Data::Dumper) >= 2.101
|
||
|
|
|
||
|
|
%description
|
||
|
|
Debug::Trace instruments subroutines to provide tracing information upon
|
||
|
|
every call and return.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -n Debug-Trace-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||
|
|
make %{?_smp_mflags}
|
||
|
|
|
||
|
|
%install
|
||
|
|
%perl_make_install
|
||
|
|
%perl_process_packlist
|
||
|
|
%perl_gen_filelist
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%clean
|
||
|
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
|
||
|
|
%files -f %name.files
|
||
|
|
%defattr(-,root,root,-)
|
||
|
|
%doc Changes README
|
||
|
|
|
||
|
|
%changelog
|