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