Files
perl-Catalyst-Plugin-StackT…/perl-Catalyst-Plugin-StackTrace.spec
Stephan Kulow dfe9b6735c Accepting request 736675 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec
   * Add PERL_USE_UNSAFE_INC
   * Remove old tarball Catalyst-Plugin-StackTrace-0.11.tar.gz

Build will pass again

OBS-URL: https://build.opensuse.org/request/show/736675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Catalyst-Plugin-StackTrace?expand=0&rev=6
2019-10-15 11:51:52 +00:00

70 lines
2.3 KiB
RPMSpec

#
# spec file for package perl-Catalyst-Plugin-StackTrace
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Catalyst-Plugin-StackTrace
Version: 0.12
Release: 0
%define cpan_name Catalyst-Plugin-StackTrace
Summary: Display a stack trace on the debug screen
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Catalyst) >= 5.70
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(MRO::Compat) >= 0.10
Requires: perl(Catalyst) >= 5.70
Requires: perl(Devel::StackTrace)
Requires: perl(MRO::Compat) >= 0.10
%{perl_requires}
%description
This plugin will enhance the standard Catalyst debug screen by including a
stack trace of your appliation up to the point where the error occurred.
Each stack frame is displayed along with the package name, line number,
file name, and code context surrounding the line number.
This plugin is only active in -Debug mode by default, but can be enabled by
setting the 'enable' config option.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%changelog