Accepting request 1153641 from devel:languages:perl:autoupdate
- updated to 2.05 see /usr/share/doc/packages/perl-Devel-StackTrace/Changes 2.05 2024-01-08 - Added explicit boolean overloading for trace objects. Without this, Perl will use the object's string overloading and then check the truthiness of the returned string, which is a lot of extra work. This can produce significant slowdowns in some cases, as seen in https://github.com/plack/Plack/pull/697. Requested by Tatsuhiko Miyagawa. GH #23. OBS-URL: https://build.opensuse.org/request/show/1153641 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-StackTrace?expand=0&rev=39
This commit is contained in:
parent
5803772d02
commit
6620a41778
BIN
Devel-StackTrace-2.04.tar.gz
(Stored with Git LFS)
BIN
Devel-StackTrace-2.04.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
Devel-StackTrace-2.05.tar.gz
Normal file
3
Devel-StackTrace-2.05.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63cb6196e986a7e578c4d28b3c780e7194835bfc78b68eeb8f00599d4444888c
|
||||
size 41366
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 03:07:39 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.05
|
||||
see /usr/share/doc/packages/perl-Devel-StackTrace/Changes
|
||||
|
||||
2.05 2024-01-08
|
||||
|
||||
- Added explicit boolean overloading for trace objects. Without this, Perl
|
||||
will use the object's string overloading and then check the truthiness of
|
||||
the returned string, which is a lot of extra work. This can produce
|
||||
significant slowdowns in some cases, as seen in
|
||||
https://github.com/plack/Plack/pull/697. Requested by Tatsuhiko
|
||||
Miyagawa. GH #23.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 05:05:57 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Devel-StackTrace
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,21 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Devel-StackTrace
|
||||
Version: 2.04
|
||||
Release: 0
|
||||
%define cpan_name Devel-StackTrace
|
||||
Summary: An object representing a stack trace
|
||||
Name: perl-Devel-StackTrace
|
||||
Version: 2.50.0
|
||||
Release: 0
|
||||
%define cpan_version 2.05
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Summary: An object representing a stack trace
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
Provides: perl(Devel::StackTrace) = %{version}
|
||||
Provides: perl(Devel::StackTrace::Frame) = %{version}
|
||||
%define __perllib_provides /bin/true
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -47,11 +49,13 @@ This code was created to support my Exception::Class::Base class (part of
|
||||
Exception::Class) but may be useful in other contexts.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -62,8 +66,7 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc appveyor.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
||||
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user