Accepting request 177412 from devel:languages: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. (forwarded request 177355 from coolo) OBS-URL: https://build.opensuse.org/request/show/177412 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-StackTrace?expand=0&rev=11
This commit is contained in:
commit
84885e6402
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,31 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-Devel-StackTrace
|
||||
Version: 1.27
|
||||
Release: 1
|
||||
License: Artistic-2.0
|
||||
Version: 1.30
|
||||
Release: 0
|
||||
%define cpan_name Devel-StackTrace
|
||||
Summary: An object representing a stack trace
|
||||
Url: http://search.cpan.org/dist/Devel-StackTrace/
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Patch: %{cpan_name}-1.27_Test_More.patch
|
||||
%if 0%{?sles_version} == 10
|
||||
BuildRequires: perl(Test::More)
|
||||
%else
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%endif
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
Url: http://search.cpan.org/dist/Devel-StackTrace/
|
||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl(File::Spec)
|
||||
Requires: perl(Scalar::Util)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
#BuildRequires: perl(Devel::StackTrace)
|
||||
#BuildRequires: perl(Devel::StackTrace::Frame)
|
||||
#BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
#BuildRequires: perl(Test::Spelling)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -58,13 +51,6 @@ class (part of Exception::Class) but may be useful in other contexts.
|
||||
|
||||
%prep
|
||||
%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
|
||||
%{__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_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes LICENSE README SIGNATURE
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user