perl-Devel-StackTrace/perl-Devel-StackTrace.spec

Name: perl-Devel-StackTrace
Summary: Stack trace and stack trace frame objects
Version: 1.26
Release: 2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Devel-StackTrace/
Description: Devel-StackTrace module for perl. Simple objects to deal with stack traces. The parent object, Devel::StackTrace, holds a number of Devel::StackTraceFrame objects (which have the same information as is returned from caller()). You can step through these frames forwards and backwards as you want or retrieve specific frames.

CentOS 7 x86_64

The build could not start because the following file is missing: Devel-StackTrace-1.26.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Devel-StackTrace-1.26.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Dave Rolsky <autarch$urth,org>
# ExcludeDist: el3 el4

### EL6 ships with perl-Devel-StackTrace-1.22-4.el6
%{?el6:# Tag: rfx}

%{?el6:%define _with_epoch 1}

%define real_version %{?_with_epoch:%{version}}%{!?_with_epoch:1.26}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Devel-StackTrace

Summary: Stack trace and stack trace frame objects
Name: perl-Devel-StackTrace
Version: %{?_with_epoch:1.26}%{!?_with_epoch:1.2600}
%{?_with_epoch:Epoch: 1}
Release: 2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Devel-StackTrace/

Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{real_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl >= 0:5.006
BuildRequires: perl(ExtUtils::MakeMaker)%{?!el5: >= 6.31}
BuildRequires: perl(File::Spec)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)%{?!el5: >= 0.88}
Requires: perl >= 0:5.006

%description
Devel-StackTrace module for perl.  Simple objects to deal with stack traces.
The parent object, Devel::StackTrace, holds a number of
Devel::StackTraceFrame objects (which have the same information as is
returned from caller()).  You can step through these frames forwards
and backwards as you want or retrieve specific frames.

%prep
%setup -n %{real_name}-%{real_version}

# damn it Dist::Zilla
%{?el5:%{__perl} -pi -e '/.*ExtUtils::MakeMaker.*6\.31.*/ && s/6\.3\d/6.30/' Makefile.PL}
%{?el5:%{__perl} -pi -e '/.*Test::More.*0\.88.*/ && s/0\.\d+/0.62/' Makefile.PL}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes LICENSE MANIFEST META.json README INSTALL SIGNATURE
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Devel/
%{perl_vendorlib}/Devel/StackTrace/
%{perl_vendorlib}/Devel/StackTrace.pm

%changelog
* Fri May 20 2011 Steve Huff <shuff@vecna.org> - 1.26-2
- RFX for el6.
- RH has added an Epoch, so we need to as well if we are going to clobber it.

* Thu Dec 16 2010 Steve Huff <shuff@vecna.org> - 1.2600-1
- Updated to version 1.26.

* Thu Jul 16 2009 Christoph Maser <cmr@financial.com> - 1.2200-1
- Updated to version 1.22.

* Thu Jul 16 2009 Christoph Maser <cmr@financial.com> - 1.2100-1
- Change version number to 1.2100

* Mon Jul  6 2009 Christoph Maser <cmr@financial.com> - 1.21-1
- Updated to version 1.21.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 1.1902-1
- Updated to release 1.1902.

* Mon Jun 23 2008 Dag Wieers <dag@wieers.com> - 1.1901-1
- Updated to release 1.1901.

* Mon May 05 2008 Dag Wieers <dag@wieers.com> - 1.18-1
- Updated to release 1.18.

* Tue Feb 19 2008 Dag Wieers <dag@wieers.com> - 1.16-1
- Updated to release 1.16.

* Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 1.15-1
- Updated to release 1.15.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 1.13-1
- Updated to release 1.13.

* Sat Nov 05 2005 Dries Verachtert <dries@ulyssis.org> - 1.12-1
- Upgraded to version 1.12.

* Thu Mar 31 2005 Dag Wieers <dag@wieers.com> - 1.11
- Initial package. (using DAR)