forked from pool/perl-Debug-Trace
- initial package created by cpanspec 1.78
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Debug-Trace?expand=0&rev=1
This commit is contained in:
39
perl-Debug-Trace.spec
Normal file
39
perl-Debug-Trace.spec
Normal file
@@ -0,0 +1,39 @@
|
||||
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
|
||||
BuildArch: noarch
|
||||
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
|
||||
Reference in New Issue
Block a user