forked from pool/perl-Devel-StackTrace
Accepting request 177355 from home:coolo:update-perl
- updated to 1.30 - There was an eval which did not first localize $@ and $SIG{__DIE__}. This broke Plack::Middleware::StackTrace (and possibly other tihngs). - The Devel::StackTrace->frames() method is now read-write. This allows you to do more complex filtering of frames than is easily possible with the frame_filter argument to the constructor. Patch by David Cantrell. - Allow arguments to a trace's as_string method, specifically max_arg_length Patch by Ricardo Signes. - Added a no_args option to the constructor in 1.26 but forgot to mention it in Changes. Requested by Scott J. Miller. RT #71482. OBS-URL: https://build.opensuse.org/request/show/177355 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-StackTrace?expand=0&rev=22
This commit is contained in:
parent
339b29f68d
commit
099da045ed
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:da55edfd4fa20ee88c94dd36ff53890d3a27095a8305d4e812a84459595ae706
|
|
||||||
size 18462
|
|
3
Devel-StackTrace-1.30.tar.gz
Normal file
3
Devel-StackTrace-1.30.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f4af79762263e477a65764ec9ff837e6e1c9f1f2c966c183036cd54bdee723d4
|
||||||
|
size 18518
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 08:33:17 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.30
|
||||||
|
- There was an eval which did not first localize $@ and $SIG{__DIE__}. This
|
||||||
|
broke Plack::Middleware::StackTrace (and possibly other tihngs).
|
||||||
|
|
||||||
|
- The Devel::StackTrace->frames() method is now read-write. This allows you to
|
||||||
|
do more complex filtering of frames than is easily possible with the
|
||||||
|
frame_filter argument to the constructor. Patch by David Cantrell.
|
||||||
|
|
||||||
|
- Allow arguments to a trace's as_string method, specifically max_arg_length
|
||||||
|
Patch by Ricardo Signes.
|
||||||
|
|
||||||
|
- Added a no_args option to the constructor in 1.26 but forgot to mention it
|
||||||
|
in Changes. Requested by Scott J. Miller. RT #71482.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 18 11:08:14 UTC 2011 - coolo@suse.com
|
Fri Nov 18 11:08:14 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Devel-StackTrace
|
# spec file for package perl-Devel-StackTrace
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,31 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Devel-StackTrace
|
Name: perl-Devel-StackTrace
|
||||||
Version: 1.27
|
Version: 1.30
|
||||||
Release: 1
|
Release: 0
|
||||||
License: Artistic 2.0
|
|
||||||
%define cpan_name Devel-StackTrace
|
%define cpan_name Devel-StackTrace
|
||||||
Summary: An object representing a stack trace
|
Summary: An object representing a stack trace
|
||||||
Url: http://search.cpan.org/dist/Devel-StackTrace/
|
License: Artistic-2.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/Devel-StackTrace/
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||||
Patch: %{cpan_name}-1.27_Test_More.patch
|
BuildArch: noarch
|
||||||
%if 0%{?sles_version} == 10
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
%else
|
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(File::Spec)
|
|
||||||
BuildRequires: perl(Scalar::Util)
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Requires: perl(File::Spec)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
Requires: perl(Scalar::Util)
|
#BuildRequires: perl(Devel::StackTrace)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
#BuildRequires: perl(Devel::StackTrace::Frame)
|
||||||
BuildArch: noarch
|
#BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
|
#BuildRequires: perl(Test::Spelling)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -58,13 +51,6 @@ class (part of Exception::Class) but may be useful in other contexts.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%if 0%{?suse_version} <= 1120
|
|
||||||
%patch -p1
|
|
||||||
# disable failing test
|
|
||||||
%{__mv} t/05-back-compat.t t/05-back-compat.tdis
|
|
||||||
# fix MakeMaker deps
|
|
||||||
%{__perl} -p -i -e 's|use ExtUtils::MakeMaker 6.31;|use ExtUtils::MakeMaker 6.30;|' Makefile.PL
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -78,11 +64,8 @@ class (part of Exception::Class) but may be useful in other contexts.
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README SIGNATURE
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user