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