auto-import perl-Devel-StackTrace-1.11-3 on branch devel from
perl-Devel-StackTrace-1.11-3.src.rpm
This commit is contained in:
parent
20ad427c79
commit
fea9632f2f
@ -0,0 +1 @@
|
||||
Devel-StackTrace-1.11.tar.gz
|
||||
62
perl-Devel-StackTrace.spec
Normal file
62
perl-Devel-StackTrace.spec
Normal file
@ -0,0 +1,62 @@
|
||||
Name: perl-Devel-StackTrace
|
||||
Summary: Perl module implementing stack trace and stack trace frame objects
|
||||
Version: 1.11
|
||||
Release: 3%{?dist}
|
||||
License: Artistic or GPL
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Devel-StackTrace
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source: http://search.cpan.org//CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
||||
|
||||
Buildarch: noarch
|
||||
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
The Devel::StackTrace module contains two classes, Devel::StackTrace
|
||||
and Devel::StackTraceFrame. The goal of this object is to encapsulate
|
||||
the information that can found through using the caller() function, as
|
||||
well as providing a simple interface to this data.
|
||||
|
||||
The Devel::StackTrace object contains a set of Devel::StackTraceFrame
|
||||
objects, one for each level of the stack. The frames contain all the
|
||||
data available from caller() as of Perl 5.6.0.
|
||||
|
||||
%prep
|
||||
%setup -q -n Devel-StackTrace-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE Changes
|
||||
%{perl_vendorlib}/Devel
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.11-2
|
||||
- Add %%defattr.
|
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.11-2
|
||||
- FE re-submission.
|
||||
|
||||
* Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 1.11-1
|
||||
- FE submission.
|
||||
Loading…
Reference in New Issue
Block a user