754c99
Name:           perl-Devel-StackTrace
754c99
Summary:        Perl module implementing stack trace and stack trace frame objects
754c99
Version:        2.03
754c99
Epoch:          1
754c99
Release:        3%{?dist}
754c99
License:        Artistic 2.0
754c99
Group:          Development/Libraries
754c99
URL:            http://search.cpan.org/dist/Devel-StackTrace/
754c99
Source0:        http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
754c99
BuildArch:      noarch
754c99
754c99
# --with release_tests ... also check "RELEASE_TESTS".
754c99
# Disabled by default
754c99
%bcond_with release_tests
754c99
754c99
# --with author_tests ... also check "AUTHOR_TESTS".
754c99
# Disabled by default
754c99
%bcond_with author_tests
754c99
754c99
BuildRequires:  perl-generators
754c99
BuildRequires:  %{__perl}
754c99
BuildRequires:  %{__make}
754c99
754c99
BuildRequires:  perl(base)
754c99
BuildRequires:  perl(bytes)
754c99
BuildRequires:  perl(ExtUtils::MakeMaker)
754c99
BuildRequires:  perl(File::Spec)
754c99
BuildRequires:  perl(IO::Handle)
754c99
BuildRequires:  perl(IPC::Open3)
754c99
BuildRequires:  perl(overload)
754c99
BuildRequires:  perl(Test::More) >= 0.88
754c99
BuildRequires:  perl(Scalar::Util)
754c99
BuildRequires:  perl(strict)
754c99
BuildRequires:  perl(warnings)
754c99
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
754c99
754c99
%if %{with release_tests}
754c99
# for improved tests
754c99
BuildRequires:  perl(Exception::Class::Base)
754c99
BuildRequires:  perl(Pod::Coverage::TrustPod)
754c99
BuildRequires:  perl(Test::CPAN::Changes)
754c99
BuildRequires:  perl(Test::EOL)
754c99
BuildRequires:  perl(Test::NoTabs)
754c99
BuildRequires:  perl(Test::Pod) > 1.41
754c99
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
754c99
BuildRequires:  perl(Test::Pod::LinkCheck)
754c99
BuildRequires:  perl(Test::Pod::No404s)
754c99
BuildRequires:  perl(Test::Portability::Files)
754c99
BuildRequires:  perl(Test::Synopsis)
754c99
BuildRequires:  perl(LWP::Protocol::https)
754c99
%endif
754c99
754c99
%if %{with author_tests}
754c99
BuildRequires:  perl(Pod::Coverage::TrustPod)
754c99
BuildRequires:  perl(Test::CPAN::Changes)
754c99
BuildRequires:  perl(Test::EOL)
754c99
BuildRequires:  perl(Test::NoTabs)
754c99
BuildRequires:  perl(Test::Pod) > 1.41
754c99
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
754c99
BuildRequires:  perl(Test::Spelling) >= 0.12
754c99
BuildRequires:  perl(Test::Synopsis)
754c99
# N/A in Fedora: BuildRequires:	perl(Code::TidyAll::Plugin::SortLines::Naturally) >= 0.000003
754c99
BuildRequires:  perl(Code::TidyAll::Plugin::Test::Vars) >= 0.02
754c99
BuildRequires:  perl(Parallel::ForkManager) >= 1.19
754c99
BuildRequires:  perl(Perl::Critic) >= 1.126
754c99
BuildRequires:  perl(Perl::Tidy) >= 20160302
754c99
BuildRequires:  perl(Test::CPAN::Meta::JSON) >= 0.16
754c99
BuildRequires:  perl(Test::Code::TidyAll) >= 0.50
754c99
BuildRequires:  perl(Test::Mojibake)
754c99
BuildRequires:  perl(Test::Portability::Files)
754c99
BuildRequires:  perl(Test::Vars) >= 0.009
754c99
BuildRequires:  perl(Test::Version) >= 2.05
754c99
%endif
754c99
754c99
%description
754c99
The Devel::StackTrace module contains two classes, Devel::StackTrace
754c99
and Devel::StackTraceFrame.  The goal of this object is to encapsulate
754c99
the information that can found through using the caller() function, as
754c99
well as providing a simple interface to this data.
754c99
754c99
The Devel::StackTrace object contains a set of Devel::StackTraceFrame
754c99
objects, one for each level of the stack.  The frames contain all the
754c99
data available from caller() as of Perl 5.6.0.
754c99
754c99
%prep
754c99
%setup -q -n Devel-StackTrace-%{version}
754c99
754c99
%build
754c99
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
754c99
make %{?_smp_mflags}
754c99
754c99
%install
754c99
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
754c99
%{_fixperms} $RPM_BUILD_ROOT/*
754c99
754c99
%check
754c99
%{__make} test %{?with_release_tests:RELEASE_TESTING=1} %{?with_author_tests:AUTHOR_TESTING=1}
754c99
754c99
%files
754c99
%doc Changes
754c99
%license LICENSE
754c99
%{perl_vendorlib}/Devel
754c99
%{_mandir}/man3/*
754c99
754c99
%changelog
754c99
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.03-3
754c99
- Rebuild with enable hardening (bug #1636329)
754c99
754c99
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
754c99
754c99
* Mon Nov 20 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.03-1
754c99
- Update to 2.03.
754c99
754c99
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.02-4
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
754c99
754c99
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.02-3
754c99
- Perl 5.26 rebuild
754c99
754c99
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.02-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
754c99
754c99
* Fri Dec 09 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.02-1
754c99
- Update to 2.02.
754c99
754c99
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.01-2
754c99
- Perl 5.24 rebuild
754c99
754c99
* Fri Mar 04 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.01-1
754c99
- Update to 2.01.
754c99
754c99
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00-5
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
754c99
754c99
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.00-4
754c99
- Add %%license.
754c99
- Modernize spec.
754c99
754c99
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-3
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
754c99
754c99
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.00-2
754c99
- Perl 5.22 rebuild
754c99
754c99
* Mon Nov 03 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2,00-1
754c99
- Upstream update.
754c99
- Reflect upstream changes to BR:'s.
754c99
754c99
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.34-2
754c99
- Perl 5.20 rebuild
754c99
754c99
* Sat Jun 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.34-1
754c99
- Upstream update.
754c99
754c99
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.32-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
754c99
754c99
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.32-1
754c99
- Upstream update.
754c99
- Activate AUTHOR_TESTING.
754c99
- Update BRs.
754c99
754c99
* Fri Jan 17 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.31-1
754c99
- Upstream update.
754c99
- Fix bogus %%changelog entry.
754c99
754c99
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.30-4
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
754c99
754c99
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.30-3
754c99
- Perl 5.18 rebuild
754c99
754c99
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.30-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
754c99
754c99
* Thu Nov 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.30-1
754c99
- Upstream update.
754c99
- Reflect new BR:'s.
754c99
- Modernize spec-file.
754c99
754c99
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-6
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
754c99
754c99
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.27-5
754c99
- Perl 5.16 rebuild
754c99
754c99
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-4
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
754c99
754c99
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.27-3
754c99
- Perl mass rebuild
754c99
754c99
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.27-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
754c99
754c99
* Mon Jan 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.27-1
754c99
- Upstream update.
754c99
754c99
* Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.26-1
754c99
- Upstream update.
754c99
754c99
* Sun Sep 12 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.25-1
754c99
- Upstream update.
754c99
- Spec overhaul.
754c99
- Add %%bcond_with release_tests
754c99
754c99
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-5
754c99
- Mass rebuild with perl-5.12.0
754c99
754c99
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.22-4
754c99
- Mass rebuild with perl-5.12.0
754c99
754c99
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:1.22-3
754c99
- rebuild against perl 5.10.1
754c99
754c99
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.22-2
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
754c99
754c99
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.22-1
754c99
- Upstream update.
754c99
754c99
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-3
754c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
754c99
754c99
* Wed Feb 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-2
754c99
- BR: perl(Test::Kwalitee).
754c99
754c99
* Sat Dec 13 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.20-1
754c99
- Upstream update.
754c99
- Bump epoch.
754c99
754c99
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1902-1
754c99
- Upstream update.
754c99
754c99
* Wed Jun 25 2008 Ralf Corsépius <rc040203@freenet.de> - 1.1901-1
754c99
- Upstream update.
754c99
754c99
* Fri May 16 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-2
754c99
- Bump release.
754c99
754c99
* Mon Apr 07 2008 Ralf Corsépius <rc040203@freenet.de> - 1.18-1
754c99
- Upstream update.
754c99
754c99
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-2
754c99
- Rebuild for perl 5.10 (again)
754c99
754c99
* Sun Feb 03 2008 Ralf Corsépius <rc040203@freenet.de> - 1.16-1
754c99
- Upstream update.
754c99
- Activate IS_MAINTAINER-tests.
754c99
- BR: perl(Test::Pod::Coverage).
754c99
754c99
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.15-3
754c99
- rebuild for new perl
754c99
754c99
* Wed Aug 29 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-2
754c99
- Update License.
754c99
754c99
* Mon Apr 30 2007 Ralf Corsépius <rc040203@freenet.de> - 1.15-1
754c99
- Upstream update.
754c99
754c99
* Sat Mar 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.14-1
754c99
- Upstream update.
754c99
754c99
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-2
754c99
- Mass rebuild.
754c99
754c99
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-1
754c99
- Upstream update.
754c99
754c99
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.12-2
754c99
- Rebuild for perl-5.8.8.
754c99
754c99
* Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1
754c99
- Upstream update.