61 lines
1.8 KiB
RPMSpec
61 lines
1.8 KiB
RPMSpec
Name: perl-Devel-StackTrace
|
|
Summary: Perl module implementing stack trace and stack trace frame objects
|
|
Version: 2.04
|
|
Epoch: 1
|
|
Release: 1
|
|
License: Artistic 2.0
|
|
URL: https://metacpan.org/release/Devel-StackTrace
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
BuildRequires: perl-generators
|
|
BuildRequires: %{__perl}
|
|
BuildRequires: %{__make}
|
|
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(bytes)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(IO::Handle)
|
|
BuildRequires: perl(overload)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
The Devel::StackTrace module contains two classes, Devel::StackTrace
|
|
and Devel::StackTraceFrame. The goal of this object is to encapsulate
|
|
the information that can found through using the caller() function, as
|
|
well as providing a simple interface to this data.
|
|
|
|
The Devel::StackTrace object contains a set of Devel::StackTraceFrame
|
|
objects, one for each level of the stack. The frames contain all the
|
|
data available from caller() as of Perl 5.6.0.
|
|
|
|
%prep
|
|
%setup -q -n Devel-StackTrace-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%files
|
|
%doc Changes
|
|
%license LICENSE
|
|
%{perl_vendorlib}/Devel
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 1:2.04-1
|
|
- Init package (Thanks to fedora team)
|