|
|
|
Name: perl-Devel-StackTrace
|
|
|
|
Summary: Perl module implementing stack trace and stack trace frame objects
|
|
|
|
Version: 2.05
|
|
|
|
Epoch: 1
|
|
|
|
Release: 6%{?dist}
|
|
|
|
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
|
|
|
|
Patch0: Devel-StackTrace-2.05-Fix-number-of-line-for-added-shebang.patch
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(bytes)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Devel-StackTrace-%{version}
|
|
|
|
%patch -P0 -p1
|
|
|
|
# Help generators to recognize Perl scripts
|
|
|
|
for F in t/*.t; do
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
chmod +x "$F"
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
#!/bin/sh
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
EOF
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes
|
|
|
|
%license LICENSE
|
|
|
|
%{perl_vendorlib}/Devel
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:2.05-6
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
* Tue Jul 23 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.05-5
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.05-4
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.05-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.05-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 09 2024 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.05-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-14
|
|
|
|
- Modernize spec.
|
|
|
|
- Convert license to SPDX.
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-12
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-9
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-6
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-3
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
* Tue May 28 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-2
|
|
|
|
- Fix bogus %%changelog entry.
|
|
|
|
|
|
|
|
* Tue May 28 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-1
|
|
|
|
- Update to 2.04.
|
|
|
|
- Remove release_tests (Dropped by upstream).
|
|
|
|
- Remove author_tests (Avoid packaging bloat).
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.03-3
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.03-1
|
|
|
|
- Update to 2.03.
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.02-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.02-3
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.02-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Dec 09 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.02-1
|
|
|
|
- Update to 2.02.
|
|
|
|
|
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.01-2
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Fri Mar 04 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.01-1
|
|
|
|
- Update to 2.01.
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.00-4
|
|
|
|
- Add %%license.
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.00-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Mon Nov 03 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2,00-1
|
|
|
|
- Upstream update.
|
|
|
|
- Reflect upstream changes to BR:'s.
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.34-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.34-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.32-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.32-1
|
|
|
|
- Upstream update.
|
|
|
|
- Activate AUTHOR_TESTING.
|
|
|
|
- Update BRs.
|
|
|
|
|
|
|
|
* Fri Jan 17 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.31-1
|
|
|
|
- Upstream update.
|
|
|
|
- Fix bogus %%changelog entry.
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.30-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.30-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.30-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Nov 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.30-1
|
|
|
|
- Upstream update.
|
|
|
|
- Reflect new BR:'s.
|
|
|
|
- Modernize spec-file.
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.27-5
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.27-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.27-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.26-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Sun Sep 12 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.25-1
|
|
|
|
- Upstream update.
|
|
|
|
- Spec overhaul.
|
|
|
|
- Add %%bcond_with release_tests
|
|
|
|
|
|
|
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-4
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:1.22-3
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.22-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.22-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-2
|
|
|
|
- BR: perl(Test::Kwalitee).
|
|
|
|
|
|
|
|
* Sat Dec 13 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-1
|
|
|
|
- Upstream update.
|
|
|
|
- Bump epoch.
|
|
|
|
|
|
|
|
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1902-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Wed Jun 25 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1901-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Fri May 16 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-2
|
|
|
|
- Bump release.
|
|
|
|
|
|
|
|
* Mon Apr 07 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-2
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
|
|
|
* Sun Feb 03 2008 Ralf Corsépius <rc040203@freenet.de> - 1.16-1
|
|
|
|
- Upstream update.
|
|
|
|
- Activate IS_MAINTAINER-tests.
|
|
|
|
- BR: perl(Test::Pod::Coverage).
|
|
|
|
|
|
|
|
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.15-3
|
|
|
|
- rebuild for new perl
|
|
|
|
|
|
|
|
* Wed Aug 29 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-2
|
|
|
|
- Update License.
|
|
|
|
|
|
|
|
* Mon Apr 30 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Sat Mar 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.14-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-2
|
|
|
|
- Mass rebuild.
|
|
|
|
|
|
|
|
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-1
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.12-2
|
|
|
|
- Rebuild for perl-5.8.8.
|
|
|
|
|
|
|
|
* Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1
|
|
|
|
- Upstream update.
|