From fea9632f2f46eaa149736f669697e807011f08d5 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Sun, 14 Aug 2005 03:28:50 +0000 Subject: [PATCH] auto-import perl-Devel-StackTrace-1.11-3 on branch devel from perl-Devel-StackTrace-1.11-3.src.rpm --- .cvsignore | 1 + perl-Devel-StackTrace.spec | 62 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+) create mode 100644 perl-Devel-StackTrace.spec diff --git a/.cvsignore b/.cvsignore index e69de29..22fe4f9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Devel-StackTrace-1.11.tar.gz diff --git a/perl-Devel-StackTrace.spec b/perl-Devel-StackTrace.spec new file mode 100644 index 0000000..31f5dfa --- /dev/null +++ b/perl-Devel-StackTrace.spec @@ -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 - 1.11-2 +- Add %%defattr. + +* Wed Aug 10 2005 Ralf Corsepius - 1.11-2 +- FE re-submission. + +* Fri Jul 01 2005 Ralf Corsepius - 1.11-1 +- FE submission. diff --git a/sources b/sources index e69de29..4c36cfd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a5d2088a531ceeec82b989c742f9382e Devel-StackTrace-1.11.tar.gz