Name: perl-CatalystX-REPL Version: 0.04 Release: 2%{?dist} Summary: Read-eval-print-loop for debugging your Catalyst application License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CatalystX-REPL/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/CatalystX-REPL-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Carp::REPL) BuildRequires: perl(Catalyst) >= 5.80006 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Expect) BuildRequires: perl(namespace::autoclean) Requires: perl(Catalyst) >= 5.80006 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 Using Carp::REPL with a Catalyst application is hard. That's because of all the internal exceptions that are being thrown and caught by Catalyst during application startup. You'd have to manually skip over all of those. This role works around that by automatically setting up Carp::REPL after starting your application, if the CATALYST_REPL or MYAPP_REPL environment variables are set. %prep %setup -q -n CatalystX-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 LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Oct 13 2011 Iain Arnell 0.04-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 0.04-1 - Specfile autogenerated by cpanspec 1.78.