commit c8d886d4e1e2b1f77d4bc1c43d988ca9613a5af1 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Wed Oct 12 06:20:07 2011 +0200 initial import (rhbz#742556) .gitignore | 1 + perl-Carp-REPL.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..88f2f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Carp-REPL-0.15.tar.gz diff --git a/perl-Carp-REPL.spec b/perl-Carp-REPL.spec new file mode 100644 index 0000000..bb43c3e --- /dev/null +++ b/perl-Carp-REPL.spec @@ -0,0 +1,68 @@ +Name: perl-Carp-REPL +Version: 0.15 +Release: 2%{?dist} +Summary: Read-eval-print-loop on die and/or warn +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Carp-REPL/ +Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/Carp-REPL-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Data::Dump::Streamer) +BuildRequires: perl(Devel::LexAlias) +BuildRequires: perl(Devel::REPL) +BuildRequires: perl(Devel::StackTrace::WithLexicals) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Lexical::Persistence) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(Test::Expect) +BuildRequires: perl(Test::More) +Requires: perl(Devel::REPL) +Requires: perl(Lexical::Persistence) +Requires: perl(namespace::clean) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji +# all is fine locally with mock 1.1.14, though +%bcond_with expect_tests + +%{?perl_default_filter} + +%description +Carp-REPL is a debugging aid for Perl programs. When a program dies (or warns), +you get a REPL instead of dying or continuing blindly. + +%prep +%setup -q -n Carp-REPL-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +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 +# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji +# all is fine locally with mock 1.1.14, though +%if ! %{with expect_tests} +grep -lZ 'Test::Expect' t/*.t |xargs -0 rm -f +%endif +make test + +%files +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Oct 04 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.15-2 +- Test::Expect and/or Devel::REPL fail under mock 1.1.8 in koji + use --with expect-tests to enable locally + +* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.15-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..b0a1c95 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +89b98f874cb3d0b4ede1363dcb3baa1e Carp-REPL-0.15.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