commit 9a0039f104b65085dd3e5005ffe851c75b73e125 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Oct 3 16:38:33 2011 +0200 initial import (rhbz#742550) .gitignore | 1 + perl-Devel-StackTrace-WithLexicals.spec | 58 +++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..fa40871 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-StackTrace-WithLexicals-0.10.tar.gz diff --git a/perl-Devel-StackTrace-WithLexicals.spec b/perl-Devel-StackTrace-WithLexicals.spec new file mode 100644 index 0000000..bb1ac07 --- /dev/null +++ b/perl-Devel-StackTrace-WithLexicals.spec @@ -0,0 +1,58 @@ +Name: perl-Devel-StackTrace-WithLexicals +Version: 0.10 +Release: 1%{?dist} +Summary: Generate stack traces with lexical variables +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-StackTrace-WithLexicals/ +Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/Devel-StackTrace-WithLexicals-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:5.8.1 +BuildRequires: perl(Devel::StackTrace) >= 1.25 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(PadWalker) >= 1.92 +BuildRequires: perl(Test::More) +Requires: perl(Devel::StackTrace) >= 1.25 +Requires: perl(PadWalker) >= 1.92 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# filter bogus requires on internal Devel::StackTrace package +%{?filter_setup:%filter_from_requires /perl(Devel::StackTraceFrame)/d} +%?perl_default_filter +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Devel::StackTraceFrame\\) + +%description +Devel::StackTrace is pretty good at generating stack traces. + +PadWalker is pretty good at the inspection and modification of your callers' +lexical variables. + +Devel::StackTrace::WithLexicals is pretty good at generating stack traces with +all your callers' lexical variables. + +%prep +%setup -q -n Devel-StackTrace-WithLexicals-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.10-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..c92be0b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2912c1d6386f5ff70e13b8fc99b0c830 Devel-StackTrace-WithLexicals-0.10.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel