commit 843045cecd67e313d232ea61e53d32a03d11c403 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Sun Sep 12 09:44:48 2010 +0200 - Upstream update. - Spec overhaul. - Add %bcond_with release_tests .gitignore | 2 +- perl-Devel-StackTrace.spec | 60 ++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 41 insertions(+), 23 deletions(-) --- diff --git a/.gitignore b/.gitignore index 237c415..36683a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Devel-StackTrace-1.22.tar.gz +Devel-StackTrace-1.25.tar.gz diff --git a/perl-Devel-StackTrace.spec b/perl-Devel-StackTrace.spec index bcaaccd..2c290bd 100644 --- a/perl-Devel-StackTrace.spec +++ b/perl-Devel-StackTrace.spec @@ -1,24 +1,34 @@ -Name: perl-Devel-StackTrace -Summary: Perl module implementing stack trace and stack trace frame objects -Version: 1.22 -Epoch: 1 -Release: 2%{?dist} -License: GPL+ or Artistic -Group: Development/Libraries -URL: http://search.cpan.org/dist/Devel-StackTrace -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz - -Buildarch: noarch +Name: perl-Devel-StackTrace +Summary: Perl module implementing stack trace and stack trace frame objects +Version: 1.25 +Epoch: 1 +Release: 1%{?dist} +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-StackTrace/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +# --with release_tests ... also check "RELEASE_TESTS". +# Disabled by default +%bcond_with release_tests BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Scalar::Util) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%if %{with release_tests} # for improved tests BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Kwalitee) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(Test::Spelling) +BuildRequires: aspell-en +%endif %description The Devel::StackTrace module contains two classes, Devel::StackTrace @@ -31,24 +41,27 @@ objects, one for each level of the stack. The frames contain all the data available from caller() as of Perl 5.6.0. %prep -%setup -q -n Devel-StackTrace-%{version} +%setup -q -n Devel-StackTrace-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT + make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* -%clean -rm -rf $RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* %check -make test IS_MAINTAINER=1 +make test %{?with_release_tests:RELEASE_TESTING=1} + +%clean +rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) @@ -57,6 +70,11 @@ make test IS_MAINTAINER=1 %{_mandir}/man3/* %changelog +* Sun Sep 12 2010 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1:1.25-1 +- Upstream update. +- Spec overhaul. +- Add %%bcond_with release_tests + * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1:1.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index f43c207..639847f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e114310258a893ac3454fb0b36a57166 Devel-StackTrace-1.22.tar.gz +3e72136114fd75f2fa0861a360bbb022 Devel-StackTrace-1.25.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel