commit 1657bc7552687dca38ce87c5ee57f898fa1f5493 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Nov 12 18:57:25 2014 +0100 Perl 5.20 rebuild .gitignore | 1 + perl-Devel-StackTrace-WithLexicals.spec | 44 +++++++++++++++++++----------- sources | 2 +- 3 files changed, 30 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index fa40871..35967ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Devel-StackTrace-WithLexicals-0.10.tar.gz +/Devel-StackTrace-WithLexicals-2.00.tar.gz diff --git a/perl-Devel-StackTrace-WithLexicals.spec b/perl-Devel-StackTrace-WithLexicals.spec index d58607b..316fe12 100644 --- a/perl-Devel-StackTrace-WithLexicals.spec +++ b/perl-Devel-StackTrace-WithLexicals.spec @@ -1,25 +1,41 @@ Name: perl-Devel-StackTrace-WithLexicals -Version: 0.10 -Release: 9%{?dist} +Version: 2.00 +Release: 1%{?dist} Summary: Generate stack traces with lexical variables License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-StackTrace-WithLexicals/ Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/Devel-StackTrace-WithLexicals-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl >= 1:5.8.1 -BuildRequires: perl(Devel::StackTrace) >= 1.25 +# Build +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(PadWalker) >= 1.92 -BuildRequires: perl(Test::More) -Requires: perl(Devel::StackTrace) >= 1.25 -Requires: perl(PadWalker) >= 1.92 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Devel::StackTrace) >= 2.00 +BuildRequires: perl(Devel::StackTrace::Frame) +BuildRequires: perl(PadWalker) >= 1.98 +# Tests only +BuildRequires: perl(bytes) +BuildRequires: perl(overload) +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Devel::StackTrace) >= 2.00 +Requires: perl(PadWalker) >= 1.98 # filter bogus requires on internal Devel::StackTrace package -%{?filter_setup:%filter_from_requires /perl(Devel::StackTraceFrame)/d} %?perl_default_filter -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Devel::StackTraceFrame\\) +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::StackTrace\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(PadWalker\\)$ %description Devel::StackTrace is pretty good at generating stack traces. @@ -34,15 +50,11 @@ all your callers' lexical variables. %setup -q -n Devel-StackTrace-WithLexicals-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* %check diff --git a/sources b/sources index c92be0b..c64a10f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2912c1d6386f5ff70e13b8fc99b0c830 Devel-StackTrace-WithLexicals-0.10.tar.gz +422c06aa2405b1a8c39a69a54929a9e9 Devel-StackTrace-WithLexicals-2.00.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